# Is it possible to have separate log file for each Logstash pipeline?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-have-separate-log-file-for-each-logstash-pipeline/147867>\
**Category:** Logstash\
**Created:** [September 9, 2018, 8:46pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-separate-log-file-for-each-logstash-pipeline/147867 "2018-09-09T20:46:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Wasilewski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/piotr_wasilewski/32/35347_2.png) [@Piotr\_Wasilewski](https://discuss.elastic.co/u/Piotr_Wasilewski)\
**Post date:** [September 9, 2018, 8:46pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-separate-log-file-for-each-logstash-pipeline/147867/1 "2018-09-09T20:46:07Z")

</div>

Hi,

Is it possible to have separate log file for each logstash pipeline? We have a number of pipelines on single node and debugging is cumbersome if not impossible at times, because one of pipelines makes so much noise in log file, that nothing else is readable.

We are on `6.4.0` version now.

Thanks,  
Peter

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [September 10, 2018, 8:33pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-separate-log-file-for-each-logstash-pipeline/147867/2 "2018-09-10T20:33:30Z")

</div>

I was looking for something like that as well but haven't been able to find anything.  
Maybe if you play around with the log4j2 settings you'll be able to come up with a solution.  
Try:  
[https://www.elastic.co/guide/en/logstash/6.4/logging.html](https://www.elastic.co/guide/en/logstash/6.4/logging.html)

---

<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:** [October 8, 2018, 8:33pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-separate-log-file-for-each-logstash-pipeline/147867/3 "2018-10-08T20:33:35Z")

</div>

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