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

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

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.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

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?