# How configure logstash in Kubernetes to point to a specific directory that is mapped as emptydir or local

**URL:** <https://discuss.elastic.co/t/how-configure-logstash-in-kubernetes-to-point-to-a-specific-directory-that-is-mapped-as-emptydir-or-local/260814>\
**Category:** Logstash\
**Created:** [January 12, 2021, 10:16am UTC](https://discuss.elastic.co/t/how-configure-logstash-in-kubernetes-to-point-to-a-specific-directory-that-is-mapped-as-emptydir-or-local/260814 "2021-01-12T10:16:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![umen](https://avatars.discourse-cdn.com/v4/letter/u/ec9cab/32.png) [@umen](https://discuss.elastic.co/u/umen)\
**Post date:** [January 12, 2021, 10:16am UTC](https://discuss.elastic.co/t/how-configure-logstash-in-kubernetes-to-point-to-a-specific-directory-that-is-mapped-as-emptydir-or-local/260814/1 "2021-01-12T10:16:14Z")

</div>

hello all  
i need to configure logstash to listen to incoming logs in a directory. (which will be manually uploaded logs to )  
And to process them and show them in kibana .  
i already have filebeat monitoring running the apps that are running which sending to elasticsearch and then they presented in kibana And i don't what to disturb them .  
All this is Kubernetes  
so i will have something like this

```auto
Upload file to /tmp/log/subdirectorys/* ---> logstash listen and process them , send to -> elasticsearch , send to -> kibana 

```

---

<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:** [February 9, 2021, 10:16am UTC](https://discuss.elastic.co/t/how-configure-logstash-in-kubernetes-to-point-to-a-specific-directory-that-is-mapped-as-emptydir-or-local/260814/2 "2021-02-09T10:16:24Z")

</div>

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