# Purge Data base Elasticsearch

**URL:** <https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738>\
**Category:** Elasticsearch\
**Created:** [May 14, 2018, 12:23pm UTC](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738 "2018-05-14T12:23:31Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![asalma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asalma/32/32199_2.png) [@asalma](https://discuss.elastic.co/u/asalma)\
**Post date:** [May 15, 2018, 12:57pm UTC](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738/21 "2018-05-15T12:57:58Z")

</div>

The file logstash-plain.log 🙂

```auto
[2018-05-15T00:00:02,027][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
...

```

And it owned by logstash !!

---

<div class="post-metadata">

**Author:** ![asalma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asalma/32/32199_2.png) [@asalma](https://discuss.elastic.co/u/asalma)\
**Post date:** [May 15, 2018, 1:24pm UTC](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738/22 "2018-05-15T13:24:35Z")

</div>

I resolve the problem :

I had to change in : /etc/logstash/startup.options :

LS\_USER=root  
LS\_GROUP=root

And run :  
/usr/share/logstash/bin/system-install startup.options

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [May 15, 2018, 3:59pm UTC](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738/23 "2018-05-15T15:59:00Z")

</div>

That is great to know! Generally speaking, these steps are automatically executed on package installation. Maybe your installation was broken somehow.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [June 4, 2018, 8:10pm UTC](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738/24 "2018-06-04T20:10:41Z")

</div>

I do not recommend running Logstash as root. This is not a secure approach to running applications.

---

<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:** [July 2, 2018, 8:10pm UTC](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738/25 "2018-07-02T20:10:48Z")

</div>

Closed on July 2, 2018, 8:10pm UTC

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

[Previous page](https://discuss.elastic.co/t/purge-data-base-elasticsearch/131738.md?page=1)
