# Logstash have delay

**URL:** <https://discuss.elastic.co/t/logstash-have-delay/90187>\
**Category:** Logstash\
**Created:** [June 21, 2017, 2:02am UTC](https://discuss.elastic.co/t/logstash-have-delay/90187 "2017-06-21T02:02:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiao123](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xiao123](https://discuss.elastic.co/u/xiao123)\
**Post date:** [June 21, 2017, 2:02am UTC](https://discuss.elastic.co/t/logstash-have-delay/90187/1 "2017-06-21T02:02:39Z")

</div>

logstash should collect the latest data , but it collect the data hours ago  
for example, the newest log is 19:00:00 , but it collect the 08:00:00 data

this is my configure  
input {  
file {  
path =\> ["/applogs/\_metrics/span\*.log"]  
start\_position =\> "end"  
}

# stdin { }

}  
output {  
kafka {  
codec =\> plain {  
format =\> "%{message}"  
}  
topic\_id =\> "open\_falcon\_span"  
broker\_list =\> "192.168.2.177:9091,192.168.2.178:9092,192.168.2.179:9093"  
}  
#stdout { codec =\> rubydebug }  
}  
i dont understand why

---

<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 19, 2017, 2:02am UTC](https://discuss.elastic.co/t/logstash-have-delay/90187/2 "2017-07-19T02:02:42Z")

</div>

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