# Deprecated settings for logstash

**URL:** <https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320>\
**Category:** Logstash\
**Created:** [February 15, 2024, 3:28am UTC](https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320 "2024-02-15T03:28:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdurvesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdurvesh/32/131494_2.png) [@mdurvesh](https://discuss.elastic.co/u/mdurvesh)\
**Post date:** [February 15, 2024, 3:28am UTC](https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320/1 "2024-02-15T03:28:29Z")

</div>

getting msg

[logstash.outputs.elasticsearch] You are using a deprecated config setting "truststore\_password" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Use 'ssl\_truststore\_password' instead. If you have any questions about this, please visit the #logstash channel on freenode irc.

Not sure where it needs to be replaced, our conf.d is empty as we have everything under logstash.yml

this is the current way on our yml file

xpack.management.elasticsearch.ssl.truststore.path: /etc/logstash/logstash.truststore

xpack.management.elasticsearch.ssl.truststore.password:

xpack.management.elasticsearch.ssl.keystore.path: /etc/logstash/logstash-abc.keystore

xpack.management.elasticsearch.ssl.keystore.password:

xpack.management.elasticsearch.ssl.verification\_mode:

---

<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:** [February 15, 2024, 3:53am UTC](https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320/2 "2024-02-15T03:53:40Z")

</div>

It is referring to the truststore\_password option of an elasticsearch output in your pipeline configuration, not in the YAML. It is [deprecated](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-deprecated-options).

---

<div class="post-metadata">

**Author:** ![mdurvesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdurvesh/32/131494_2.png) [@mdurvesh](https://discuss.elastic.co/u/mdurvesh)\
**Post date:** [February 29, 2024, 12:17am UTC](https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320/3 "2024-02-29T00:17:56Z")

</div>

> [@mdurvesh](#):
>
> ssl.truststore.path

can you guide where should I look to make these changes, I could not find in the files under logstash piplines

---

<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:** [February 29, 2024, 12:42am UTC](https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320/4 "2024-02-29T00:42:30Z")

</div>

> [@mdurvesh](#):
>
> can you guide where should I look to make these changes

If logstash is logging that warning then one of your pipelines has an elasticsearch output that includes the truststore\_password option. You need to change that to use ssl\_truststore\_password.

---

<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 28, 2024, 12:42am UTC](https://discuss.elastic.co/t/deprecated-settings-for-logstash/353320/5 "2024-03-28T00:42:51Z")

</div>

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