Deprecated Warning in Elastic 7.3.1

Hi Could you please help me regarding Deprecated logs in Elasticsearch

Kibana version:
7.3.1

Elasticsearch version:
7.3.1

Logstash Version:
7.3.1

Describe Warning:
Deprecation Logs not constantly raised, its raised first time when configure ELK.

Warning Log:
[o.e.d.s.ScriptModule ] Script: returning default values for missing document values is deprecated. Set system property '-Des.scripting.exception_for_missing_value=true' to make behaviour compatible with future major versions.

Expected behavior:
No deprecation warnings should be raised, I have used ELK version 7.3.1

Can someone Please help me out

Hi @as50790,

there will be a change in behaviour for some scripting functionality in upcoming versions.
This warning informs you about that change. Setting
-Des.scripting.exception_for_missing_value=true in your jvm.options will make it go away and make ES use the new behaviour.
Your best option is to put the setting into your jvm.options and make changes to your ES usage in the unlikely event that the behaviour change breaks anything.

Hi @Armin_Braun,

Thanks for your solution, I'm implements and update the same.

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