Unable to load the kibana logs due to error in Script field

We are using kibana 5.5 version. We are getting the following exception from 1st October, 2019 to till date while loading the kibana.

Shard Failures
The following shard failures ocurred:

Index: default-2019.10 Shard: 0 Reason: {"type":"script_exception","reason":"link error","script_stack":["doc['ClmAmount'].value","^---- HERE"],"script":"doc['TransSuccess'].value * doc['ClmAmount'].value","lang":"expression","caused_by":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [ClmAmount] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}}

We did not edit any existing scripts. We also did not add any new scripts. With the same script fileds it is working fine till 30th September 2019. So, do we have an option to see whether Kibana can work without removing the above script field(s)?

Hello,

Can you please look at your kibana logs to see if anything changed?

Here are our docs on field data: https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html

Its possible that your data mapping is changed?

Thanks,
Bhavya

Logs side nothing has been changed. Its giving the the following error.

Index: default-2019.10 Shard: 0 Reason: {"type":"script_exception","reason":"link error","script_stack":["doc['ClmAmount'].value","^---- HERE"],"script":"doc['TransSuccess'].value * doc['ClmAmount'].value","lang":"expression","caused_by":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [ClmAmount] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}}

But we are able to get the logs till September 30, 2019

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