Scripted fields not showing values


I am new to Elasticsearch/Kibana tools.
Here I have my application logs saved in Elasticsearch, and now i need to show some visualizations from the logged data.

I can see the logged messages in console as below.

But as we see the last column, scripted1 is not showing any values here.
I added this scripted1 as a scripted field, with a static value as below.

In preview results, i can see the new field with expected value.

Could someone help me to understand why it is not displayed when I see logs.

Thanks in advance.

In Scripted fields in kibana index pattern, there is no need to return value. Script should be just expressing value.

Thanks, it resolved my issue.

1 Like

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