Plugin configuration

Hello,

I'm converting a plugin built for ES 2.1.1 to ES 7.10.

I'm running into a strange issue. I need to pass:

plugin-name.enable: true

If I add it to elasticsearch.yml file, the configuration is available in my plugin but I get:

java.lang.IllegalArgumentException: unknown setting [plugin-name.enable] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

I tried to find more information about how to tell ES that these settings are for my plugin, but I can't find anything. I did confirm in plugin-descriptor.properties that name=plugin-name.

Does anybody have any recommendations on how to do this?

Thank you.

Your plugin needs to declare the expected settings.

See for example

Thank you. This is exactly what I was looking for. I confirmed that it resolves the issue.

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