# Filebeats Kubernetes File close due to inactive of 5min

**URL:** https://discuss.elastic.co/t/filebeats-kubernetes-file-close-due-to-inactive-of-5min/224855
**Category:** Beats
**Tags:** filebeat
**Created:** [March 24, 2020, 2:00pm UTC](https://discuss.elastic.co/t/filebeats-kubernetes-file-close-due-to-inactive-of-5min/224855 "2020-03-24T14:00:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ConorTier](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@ConorTier](https://discuss.elastic.co/u/ConorTier)
#### Post date: [March 24, 2020, 3:40pm UTC](https://discuss.elastic.co/t/filebeats-kubernetes-file-close-due-to-inactive-of-5min/224855/2 "2020-03-24T15:40:20Z")

</div>

Little more background in case it helps - Microservices created in .net core - using log4net logging - file appender - this should not matter as its just creating a something.log file with a specific format for each log output.

Havent changed the scan\_frequency - default is 10 seconds and close\_inactive is still at its default - (5 mintues)

In theory once a log entry is entered every 10 minutes as example - it should appear to filebeat output every 10 minutes and 10 seconds - note logs dont come in every 10 minutes - just an example.

---

_[View the full topic](https://discuss.elastic.co/t/filebeats-kubernetes-file-close-due-to-inactive-of-5min/224855)._
