# Getting log INFO File is inactive: /logs/analytics/xyz6.log. Closing because close\_inactive of 5m0s reached

**URL:** <https://discuss.elastic.co/t/getting-log-info-file-is-inactive-logs-analytics-xyz6-log-closing-because-close-inactive-of-5m0s-reached/183160>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 28, 2019, 5:43pm UTC](https://discuss.elastic.co/t/getting-log-info-file-is-inactive-logs-analytics-xyz6-log-closing-because-close-inactive-of-5m0s-reached/183160 "2019-05-28T17:43:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swaroop\_Chand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swaroop_chand/32/45812_2.png) [@Swaroop\_Chand](https://discuss.elastic.co/u/Swaroop_Chand)\
**Post date:** [May 28, 2019, 5:43pm UTC](https://discuss.elastic.co/t/getting-log-info-file-is-inactive-logs-analytics-xyz6-log-closing-because-close-inactive-of-5m0s-reached/183160/1 "2019-05-28T17:43:40Z")

</div>

Getting log INFO File is inactive: /logs/analytics/xyz6.log. Closing because close\_inactive of 5m0s reached.  
Data is not reaching to logstash.

output {  
if [type] =~ "syslog" {  
elasticsearch {  
hosts =\> ["[http://127.0.0.1:9200](http://127.0.0.1:9200)"]  
index =\> "%{[@metadata][beat]}-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}  
else if [type] =~ "analytics" {  
elasticsearch {  
hosts =\> ["[http://127.0.0.1:9200](http://127.0.0.1:9200)"]  
index =\> "analytics-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}  
}

filebeat.yml--  
filebeat.prospectors:

- input\_type: log  
paths:

- input\_type: log  
paths:

output.logstash:  
hosts: ["0.0.0.0:5044"]  
loadbalance: true  
bulk\_max\_size: 2048

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 25, 2019, 5:43pm UTC](https://discuss.elastic.co/t/getting-log-info-file-is-inactive-logs-analytics-xyz6-log-closing-because-close-inactive-of-5m0s-reached/183160/2 "2019-06-25T17:43:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
