# Logstash dameon does not create index .... but manually running Logstash does

**URL:** <https://discuss.elastic.co/t/logstash-dameon-does-not-create-index-but-manually-running-logstash-does/262691>\
**Category:** Logstash\
**Created:** [January 29, 2021, 9:03pm UTC](https://discuss.elastic.co/t/logstash-dameon-does-not-create-index-but-manually-running-logstash-does/262691 "2021-01-29T21:03:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [January 29, 2021, 9:03pm UTC](https://discuss.elastic.co/t/logstash-dameon-does-not-create-index-but-manually-running-logstash-does/262691/1 "2021-01-29T21:03:49Z")

</div>

Hello

I believe this is more oriented to logstash but

If I run as root:

/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/01-winlogbeat-somefile.conf

Kibana sees the index file, so it is created and as long as I am running that, the index grows I can search etc....

Now, if the Logstash dameon is run, systemctl, the index is NOT created, data does NOT grow, I cannot search, etc.

Ive been at this for DAYS and I simply cannot get the answer.

The data folder is owned by logstash and I see the process is ran by logstash. Ive tried to run the dameon as root as well but it does not work.

I dont see anything in /var/log/messages

Can someone PLEASE help me out? Im going crazy.

Thanks

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 29, 2021, 10:52pm UTC](https://discuss.elastic.co/t/logstash-dameon-does-not-create-index-but-manually-running-logstash-does/262691/2 "2021-01-29T22:52:43Z")

</div>

If your service software is systemd then you may use journalctl to view the output of the service.

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [February 15, 2021, 9:06am UTC](https://discuss.elastic.co/t/logstash-dameon-does-not-create-index-but-manually-running-logstash-does/262691/3 "2021-02-15T09:06:10Z")

</div>

It was the pipelines.yml ; I had to edit it and add a additional pipeline.

---

<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 15, 2021, 9:06am UTC](https://discuss.elastic.co/t/logstash-dameon-does-not-create-index-but-manually-running-logstash-does/262691/4 "2021-03-15T09:06:56Z")

</div>

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