# Where are the Logstash Logs?

**URL:** <https://discuss.elastic.co/t/where-are-the-logstash-logs/172645>\
**Category:** Logstash\
**Created:** [March 16, 2019, 3:38pm UTC](https://discuss.elastic.co/t/where-are-the-logstash-logs/172645 "2019-03-16T15:38:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiteshKhanna](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@GiteshKhanna](https://discuss.elastic.co/u/GiteshKhanna)\
**Post date:** [March 16, 2019, 3:38pm UTC](https://discuss.elastic.co/t/where-are-the-logstash-logs/172645/1 "2019-03-16T15:38:30Z")

</div>

I was wondering where can I find the logs of Logstash itself? I need to check if logstash is working as expected. Is there any default place where logstash stores its logs?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [March 16, 2019, 3:47pm UTC](https://discuss.elastic.co/t/where-are-the-logstash-logs/172645/2 "2019-03-16T15:47:08Z")

</div>

It depends on your installation. For linux is the default /var/log/logstash  
For windows I do not know (I am not a windows user)

---

<div class="post-metadata">

**Author:** ![GiteshKhanna](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@GiteshKhanna](https://discuss.elastic.co/u/GiteshKhanna)\
**Post date:** [March 17, 2019, 7:47am UTC](https://discuss.elastic.co/t/where-are-the-logstash-logs/172645/3 "2019-03-17T07:47:13Z")

</div>

@pjanzen  
I am working on an aws EC2 instance and there is no **var** directory.

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [March 17, 2019, 3:41pm UTC](https://discuss.elastic.co/t/where-are-the-logstash-logs/172645/4 "2019-03-17T15:41:00Z")

</div>

I have no idea how that works on a aws EC2 instance but a round of google [show me this.](https://aws.amazon.com/blogs/big-data/viewing-amazon-elasticsearch-service-error-logs/)

---

<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 14, 2019, 3:41pm UTC](https://discuss.elastic.co/t/where-are-the-logstash-logs/172645/5 "2019-04-14T15:41:01Z")

</div>

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