# Logstash loads the log file at initial run. But when the logfile is updated it does not show in Kibana

**URL:** <https://discuss.elastic.co/t/logstash-loads-the-log-file-at-initial-run-but-when-the-logfile-is-updated-it-does-not-show-in-kibana/230272>\
**Category:** Logstash\
**Created:** [April 28, 2020, 11:43pm UTC](https://discuss.elastic.co/t/logstash-loads-the-log-file-at-initial-run-but-when-the-logfile-is-updated-it-does-not-show-in-kibana/230272 "2020-04-28T23:43:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajagopalss](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rajagopalss](https://discuss.elastic.co/u/rajagopalss)\
**Post date:** [April 28, 2020, 11:43pm UTC](https://discuss.elastic.co/t/logstash-loads-the-log-file-at-initial-run-but-when-the-logfile-is-updated-it-does-not-show-in-kibana/230272/1 "2020-04-28T23:43:48Z")

</div>

Hello.

I'm new to logstash

- Logstash, ElasticSearch and Kibana are running in docker container on windows machine on same network.
- Springboot microservice logs to a log file - which is configured for logstash
- When i start the Logstash container - it pull the log file for the first time and shows in Kibana
- But when the log file is appended with additional logs from the spring boot application, kibana does not shows the latest logs.

## Here is my logstash.conf

```auto
input {
  file {
    path => "/usr/share/logstash/pipeline/data/contacts-ws.log"
    start_position => "beginning"
    sincedb_path => "/dev/null"
  }
}

output {
  elasticsearch {
    hosts => ["192.168.1.244:9200"] 
    index => "contacts"
    document_type => "order_status"
  }
  stdout { codec => rubydebug }
}

```

Thanks for the Help.

---

<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:** [May 26, 2020, 11:43pm UTC](https://discuss.elastic.co/t/logstash-loads-the-log-file-at-initial-run-but-when-the-logfile-is-updated-it-does-not-show-in-kibana/230272/2 "2020-05-26T23:43:50Z")

</div>

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