Hello, I have a bar chart in the picture. But the value of the fields I want to show on the chart is a long name. How can I make an alias for it ? Thanks

Hello, I have a bar chart in the picture. But the value of the fields I want to show on the chart is a long name. How can I make an alias for it ? Thanks

Hi @br14nb0,
You can try creating a scripted field and shortening or aliasing the value manually there.
See this article: https://www.elastic.co/guide/en/kibana/current/scripted-fields.html
I mean I want to shorten the value of the field not the name of the field. Like shown in the picture, I just want to get the last string Taskmg.exe, regedit.exe,..etc. Anyway to use something like parse or regex ?
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.