# Missing log file

**URL:** <https://discuss.elastic.co/t/missing-log-file/353554>\
**Category:** Logstash\
**Created:** [February 19, 2024, 9:46am UTC](https://discuss.elastic.co/t/missing-log-file/353554 "2024-02-19T09:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pooort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pooort/32/131232_2.png) [@Pooort](https://discuss.elastic.co/u/Pooort)\
**Post date:** [February 19, 2024, 9:46am UTC](https://discuss.elastic.co/t/missing-log-file/353554/1 "2024-02-19T09:46:38Z")

</div>

Hello.

I start logstash with in official container `logstash:8.12.1`:

```auto
logstash -f logstash.conf --path.logs /var/log/logstash/

```

I see logs in the console but path is empty. How can I get logs in the file?

Thanks in advance.

---

<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:** [March 18, 2024, 9:47am UTC](https://discuss.elastic.co/t/missing-log-file/353554/2 "2024-03-18T09:47:02Z")

</div>

Closed on March 18, 2024, 9:47am UTC

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