# Accidentally deleted the logstash log in /var/log/logstash/logstash-plain.log. Not getting created on its own

**URL:** <https://discuss.elastic.co/t/accidentally-deleted-the-logstash-log-in-var-log-logstash-logstash-plain-log-not-getting-created-on-its-own/127822>\
**Category:** Logstash\
**Created:** [April 12, 2018, 1:07pm UTC](https://discuss.elastic.co/t/accidentally-deleted-the-logstash-log-in-var-log-logstash-logstash-plain-log-not-getting-created-on-its-own/127822 "2018-04-12T13:07:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sriram\_Kannan](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Sriram\_Kannan](https://discuss.elastic.co/u/Sriram_Kannan)\
**Post date:** [April 12, 2018, 1:07pm UTC](https://discuss.elastic.co/t/accidentally-deleted-the-logstash-log-in-var-log-logstash-logstash-plain-log-not-getting-created-on-its-own/127822/1 "2018-04-12T13:07:40Z")

</div>

Hi,

I accidentally deleted the logstash log and restarted the service. The logs are not getting created but the service is running well. Not sure where is it logging.

I tried touching the file and assigning the user and group as logstash. but still luck.

Any suggestion would be grateful.

I am using Logstash version 6.2.3-1 and log path is default /var/log/logstash

---

<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:** [May 10, 2018, 1:07pm UTC](https://discuss.elastic.co/t/accidentally-deleted-the-logstash-log-in-var-log-logstash-logstash-plain-log-not-getting-created-on-its-own/127822/2 "2018-05-10T13:07:53Z")

</div>

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