# ELK Docker - Logstash doesn't read log file

**URL:** <https://discuss.elastic.co/t/elk-docker-logstash-doesnt-read-log-file/40125>\
**Category:** Logstash\
**Created:** [January 26, 2016, 1:50pm UTC](https://discuss.elastic.co/t/elk-docker-logstash-doesnt-read-log-file/40125 "2016-01-26T13:50:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aberwag](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aberwag](https://discuss.elastic.co/u/aberwag)\
**Post date:** [January 26, 2016, 1:50pm UTC](https://discuss.elastic.co/t/elk-docker-logstash-doesnt-read-log-file/40125/1 "2016-01-26T13:50:08Z")

</div>

Hello,

I use ELK on docker ([repository](https://github.com/aberwag/elk-linux-server)) to manage logs on my server

bind archive log file if file size == 5Mo (rename queries.log to queries.log0 and create a new file queries.log), after this operation logstash doesn't read new file content and i don't have any log on logstash.

Bind configuration:  
...  
channel queries\_file {  
file "/var/log/dns/queries.log" versions 3 size 5m;  
severity dynamic;  
print-time yes;  
};  
...

an idea ?  
thanks

---

<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 6, 2017, 5:14am UTC](https://discuss.elastic.co/t/elk-docker-logstash-doesnt-read-log-file/40125/2 "2017-07-06T05:14:17Z")

</div>

Closed on July 6, 2017, 5:14am UTC


