# Switch tail to read mode, but logs not streaming to Kibana

**URL:** <https://discuss.elastic.co/t/switch-tail-to-read-mode-but-logs-not-streaming-to-kibana/356624>\
**Category:** Logstash\
**Created:** [April 2, 2024, 3:43pm UTC](https://discuss.elastic.co/t/switch-tail-to-read-mode-but-logs-not-streaming-to-kibana/356624 "2024-04-02T15:43:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandydesikan](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@nandydesikan](https://discuss.elastic.co/u/nandydesikan)\
**Post date:** [April 2, 2024, 3:43pm UTC](https://discuss.elastic.co/t/switch-tail-to-read-mode-but-logs-not-streaming-to-kibana/356624/1 "2024-04-02T15:43:32Z")

</div>

Thanks for insights I gained from this topic - [Grokparsefailure randomly - #5 by fry2k](https://discuss.elastic.co/t/grokparsefailure-randomly/166203/5)  
I switched from default tail mode to read mode. However, logs are not streaming to kibana after the switch (restarted the server which refreshed LogStash agent cache , so new settings were picked up). Can anyone check the file plugin settings and clarify why logstash agent is not sending logs to kibana?  
The moment I rollback (i.e. switch to tail mode), its ok.

```auto
file {
	     path => "${LOGS_PATH}/event.*.log.*"
	     exclude => "*.gz"
	     mode => "read"
	     start_position => "beginning"
	     sincedb_path => "${LOGS_PATH}/<audit_logs>.db"
	     file_completed_action => "log_and_delete"
	     file_completed_log_path => "${LOGS_PATH}/complete.log"
	   }

```

---

<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:** [April 30, 2024, 3:43pm UTC](https://discuss.elastic.co/t/switch-tail-to-read-mode-but-logs-not-streaming-to-kibana/356624/2 "2024-04-30T15:43:52Z")

</div>

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