# Filebeat not shipping logs to elasticsearch

**URL:** <https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 21, 2022, 5:02pm UTC](https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783 "2022-06-21T17:02:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_kr](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@Gaurav\_kr](https://discuss.elastic.co/u/Gaurav_kr)\
**Post date:** [June 21, 2022, 5:02pm UTC](https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783/1 "2022-06-21T17:02:28Z")

</div>

Hi Team,  
I am using Filebeat 8.0.0  
And using filestream type for harvesting logs from 6 different paths with ingest pipeline.

But i have to restart the Filebeat service to get the logs as it is not sending logs from the provided path on frequent basis

I did try ignore\_older and close\_inactive but no luck.

Once I do restart of Filebeat services all the logs get reflected.

Could anyone suggest why this is happening.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 21, 2022, 10:26pm UTC](https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783/2 "2022-06-21T22:26:17Z")

</div>

It'd be useful if you could share your Filebeat logs and config. It might also be worth upgrading Filebeat to the latest version.

---

<div class="post-metadata">

**Author:** ![Gaurav\_kr](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@Gaurav\_kr](https://discuss.elastic.co/u/Gaurav_kr)\
**Post date:** [June 22, 2022, 8:32am UTC](https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783/3 "2022-06-22T08:32:54Z")

</div>

Hi @warkolm  
I can share screenshot for the yml file.

Rest is same as usual

And i having 2 logs file .log and .text

 ![IMG20220622140451](https://us1.discourse-cdn.com/elastic/original/3X/2/3/23075a8eb0b9611de80711a9d5e98f5bf499d2a9.jpeg)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 23, 2022, 6:04am UTC](https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783/4 "2022-06-23T06:04:01Z")

</div>

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<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 21, 2022, 8:04am UTC](https://discuss.elastic.co/t/filebeat-not-shipping-logs-to-elasticsearch/307783/5 "2022-07-21T08:04:27Z")

</div>

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