# Stop Logstash from automatic shutting down when using CPM

**URL:** <https://discuss.elastic.co/t/stop-logstash-from-automatic-shutting-down-when-using-cpm/170741>\
**Category:** Logstash\
**Tags:** fleet\
**Created:** [March 4, 2019, 2:28pm UTC](https://discuss.elastic.co/t/stop-logstash-from-automatic-shutting-down-when-using-cpm/170741 "2019-03-04T14:28:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruno.henriques](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruno.henriques/32/36920_2.png) [@bruno.henriques](https://discuss.elastic.co/u/bruno.henriques)\
**Post date:** [March 4, 2019, 2:28pm UTC](https://discuss.elastic.co/t/stop-logstash-from-automatic-shutting-down-when-using-cpm/170741/1 "2019-03-04T14:28:09Z")

</div>

Hello,

I want to use Centralized Pipeline Management ([https://www.elastic.co/guide/en/logstash/current/logstash-centralized-pipeline-management.html](https://www.elastic.co/guide/en/logstash/current/logstash-centralized-pipeline-management.html)) to manage my Logstash pipelines, however Logstash shutdowns automatically when there is no pipeline configured.

Any suggestions without having to create a no-op pipeline (that will inherently consume Logstash resources)?

IMO: By concept, Logstash shouldn't shutdown when using CSM.

Last lines of the log:

```auto
[2019-03-04T14:13:59,644][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/etc/logstash/conf.d/*.conf"}
[2019-03-04T14:13:59,655][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2019-03-04T14:14:00,329][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}

```

Edit: I was missing the `xpack.management.enabled: true`. I am having other issues but are unrelated to this thread.

---

<div class="post-metadata">

**Author:** ![bruno.henriques](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruno.henriques/32/36920_2.png) [@bruno.henriques](https://discuss.elastic.co/u/bruno.henriques)\
**Post date:** [March 4, 2019, 3:15pm UTC](https://discuss.elastic.co/t/stop-logstash-from-automatic-shutting-down-when-using-cpm/170741/2 "2019-03-04T15:15:16Z")

</div>

> [@bruno.henriques](#):
>
> I was missing the `xpack.management.enabled: true` . I am having other issues but are unrelated to this thread.

I was missing the `xpack.management.enabled: true` . I am having other issues but are unrelated to this thread.

---

<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 1, 2019, 3:15pm UTC](https://discuss.elastic.co/t/stop-logstash-from-automatic-shutting-down-when-using-cpm/170741/3 "2019-04-01T15:15:16Z")

</div>

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