# Keystore is not possible used in a pipeline after enabling centralized managment

**URL:** <https://discuss.elastic.co/t/keystore-is-not-possible-used-in-a-pipeline-after-enabling-centralized-managment/288641>\
**Category:** Logstash\
**Created:** [November 8, 2021, 2:35pm UTC](https://discuss.elastic.co/t/keystore-is-not-possible-used-in-a-pipeline-after-enabling-centralized-managment/288641 "2021-11-08T14:35:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnunez](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@lnunez](https://discuss.elastic.co/u/lnunez)\
**Post date:** [November 8, 2021, 2:35pm UTC](https://discuss.elastic.co/t/keystore-is-not-possible-used-in-a-pipeline-after-enabling-centralized-managment/288641/1 "2021-11-08T14:35:31Z")

</div>

Related with:

> [@Logstash error after integrating X Pack](https://discuss.elastic.co/t/logstash-error-after-integrating-x-pack/137185):
>
> Hi All, Logstash has stopped working after integrating X Pack. Logstash version used - 6.2.4 X Pack version - 6.2.4 Is there any issue with the integration on these versions? I see the following error message when I try to run Logstash conf file. I have simple logstash conf file under Logstash/bin folder. File name is simple.conf So, under logstash/bin, I run logstash.bat -f simple.conf I get the following error message - [2018-06-25T11:21:37,791][ERROR][logstash.configmanagement.boots…

if is enabled the centralized management pipeline, it will deactivated the path settings to be used in cmd, but some pipeline, could have some key-value from the keystore, and as is deactivated the "--path.setting" cause that some pipelines which need some key-values is not possible being executed manually.

Maybe I'm wrong but logstash has to allow execute pipelines despite having configured "centralized management pipelines", maybe creating another parameter just to reference the keystore-path.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [November 8, 2021, 2:41pm UTC](https://discuss.elastic.co/t/keystore-is-not-possible-used-in-a-pipeline-after-enabling-centralized-managment/288641/2 "2021-11-08T14:41:22Z")

</div>

How are you starting Logstash?

What errors do you have in the log file?

The post you shared is a different issue, it is about running logstash with the `-f` option, to point directly to a config file, not related to `path.setting`.

---

<div class="post-metadata">

**Author:** ![lnunez](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@lnunez](https://discuss.elastic.co/u/lnunez)\
**Post date:** [November 29, 2021, 4:33pm UTC](https://discuss.elastic.co/t/keystore-is-not-possible-used-in-a-pipeline-after-enabling-centralized-managment/288641/3 "2021-11-29T16:33:00Z")

</div>

Hi Leandro,

Thanks for your answer, it is related to the -f option and also the parameter path.setting, that is because the pipeline had defined inside of it some key/values defined in the keystore and for that reason, I need to define the path.settings, doesn't exist a parameter just to define the location of the keystore.

If you have a pipeline with key/values from a keystore, right now is not possible to execute manually when is configured centralized management pipelines.

It should it be possible to execute manually a pipeline with key/values if is configured centralized pipeline (in order to allow test them).

---

<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:** [December 27, 2021, 4:33pm UTC](https://discuss.elastic.co/t/keystore-is-not-possible-used-in-a-pipeline-after-enabling-centralized-managment/288641/4 "2021-12-27T16:33:46Z")

</div>

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