Config driven text prompting was deprecated in 6.0.0 Use the keystore – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7-7.15

Briefly, this error occurs when you’re trying to use config driven text prompting, a feature that was deprecated in Elasticsearch 6.0.0. Instead, Elasticsearch now recommends using the keystore for secure settings. To resolve this issue, you should migrate any secure settings to the Elasticsearch keystore. This can be done by using the ‘elasticsearch-keystore’ command-line tool to add, remove, or list settings. Remember to restart Elasticsearch after making changes to the keystore for them to take effect.

This guide will help you check for common problems that cause the log ” Config driven text prompting was deprecated in 6.0.0. Use the keystore ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: node.

Log Context

Log “Config driven text prompting was deprecated in 6.0.0. Use the keystore” class name is InternalSettingsPreparer.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 switch (value) {
 case SECRET_PROMPT_VALUE:
 throw new SettingsException("Config driven secret prompting was deprecated in 6.0.0. Use the keystore" +
 " for secure settings.");
 case TEXT_PROMPT_VALUE:
 throw new SettingsException("Config driven text prompting was deprecated in 6.0.0. Use the keystore" +
 " for secure settings.");
 }
 }
 }
 }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?