I have a Data Table visualization.
The statuses have there own values,
1 - Net Banking
2 - Cash On delivery
3 - Mobile payment
Is there any way I can alias these values to their meaning in this data table ?
I have a Data Table visualization.
The statuses have there own values,
1 - Net Banking
2 - Cash On delivery
3 - Mobile payment
Is there any way I can alias these values to their meaning in this data table ?
You can use translate plugin for this data (in logstash).
filter {
translate {
dictionary => [ "1", "Net Banking",
"2", "Cash On delivery",
"3", "Mobile payment" ]
}
}
Or another way, you can use script field in kibana
if (doc['payment_status'].value =1) {
return "Net Banking";
}
return "";
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.