Can anyone point me how to control field types in Data Table metrics and aggregations? (JSON Input?)
e.g. I want percentile values to be displayed as integer and be stripped off of decimal values
Can anyone point me how to control field types in Data Table metrics and aggregations? (JSON Input?)
e.g. I want percentile values to be displayed as integer and be stripped off of decimal values
If you navigate to Management > Index Patterns, you can pick a formatter for the field, which you can use to round the value when it's displayed in Kibana.
Ah. I assumed that only applied to the field and not on the calculations derived from it. This works, thanks.
Glad to hear it.
Field formatting should be used anywhere data from that field is displayed in Kibana. Sorry that isn't made more clear. For what it's worth, if you find somewhere that the formatting isn't being observed, that's a bug, and I'd encourage you to open an issue.
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.