# Filebeat stops sending logs after logrotates

**URL:** https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998
**Category:** Beats
**Tags:** filebeat
**Created:** [January 12, 2016, 3:45pm UTC](https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998 "2016-01-12T15:45:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![naga1](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@naga1](https://discuss.elastic.co/u/naga1)
#### Post date: [January 12, 2016, 3:45pm UTC](https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998/1 "2016-01-12T15:45:49Z")

</div>

Filebeat stops sending logs after app log rotates over night.  
App lognames are below --

- virtual.access.20160111
- virtual.access.20160112

Below is the Code SnippSet  
///  
filebeat:  
prospectors:  
-  
paths:  
- "/apache/qa-httpd/_"  
fields\_under\_root: true  
document\_type: apache  
-  
paths:  
- "/tomcat/qa-r_"  
fields\_under\_root: true  
document\_type: tomcat  
shipper:  
name: "test"  
tags: ["testqa"]  
ignore\_outgoing: true  
refresh\_topology\_freq: 10  
topology\_expire: 15

output:  
logstash:  
enabled: true  
hosts: ["localhost:5044"]  
timeout: 30  
################Logging#################  
logging:  
to\_files: true  
to\_syslog: false  
files:  
path: /var/log/filebeat  
name: filebeat.log  
keepfiles: 10  
///

Any idea why its stops sending the logs after every nights rotation?

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [January 12, 2016, 4:00pm UTC](https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998/2 "2016-01-12T16:00:00Z")

</div>

Could you provide beat version and OS? [Beats: How to report an issue](https://discuss.elastic.co/t/beats-how-to-report-an-issue/38301)

Also please post your config as "code" with 3 backticks starting / ending to make it more readable.

---

<div class="post-metadata">

### Author: ![naga1](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@naga1](https://discuss.elastic.co/u/naga1)
#### Post date: [January 12, 2016, 4:22pm UTC](https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998/3 "2016-01-12T16:22:31Z")

</div>

@ruffin  
Here is the Beats version-- filebeat version 1.0.0-rc2 (amd64)  
OS -- Red Hat Enterprise Linux Server release 6.6 (Santiago)

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [January 12, 2016, 9:07pm UTC](https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998/4 "2016-01-12T21:07:02Z")

</div>

Could you please update to 1.0.1 to see if the issue persists? There were many bugfixes since rc2.

---

<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: [July 5, 2017, 9:56pm UTC](https://discuss.elastic.co/t/filebeat-stops-sending-logs-after-logrotates/38998/5 "2017-07-05T21:56:48Z")

</div>


