I have multiple spaces that all reference the same index with an index pattern - metricbeat-*./
Metricbeat comes with MANY *.pct fields and I'd like to display them all as percentages rather than numbers. It would take a lot of time for me to go into each of my 20 spaces and adjust the individual dataviews/index patterns to the correct format of percentage. So, is there a way I can do this with an index template or some other scalable way? If not this would be an incredible enhancement.
Not via Elasticsearch, as it'll be stored as a number of some sort, and not a percentage.
Opening a request in the Kibana repo would probably be the best place, as it could definitely recognise the use of .pct and then display it accordingly.
@seanziee What version are you on? And when you say Display you mean in Discover or all Visualizations or both?
I ask because in 8.x percentages are shown as percentages... in Discover and Lens and TSVB Visualization OOTB as far as I can tell. Lens and TSVB do this auto as well.
Perhaps I am missing something.
If you are in 7.x you can actually set them on an index pattern then important that index pattern into other spaces ... a bit painful but can be done I believe.
Yes starting in 8.0.0 which is literally the next / newer version.
the 7.x version are no longer under active development 7.17.4 would be the last release unless a security issue / bad bug that needs to be back ported.
No not what I meant, I mean all the .pct fields that are part of metricbeat modules / ECS fields have the format type set to percent as part of the default setup.
Quick count 274 Fields are marked with "percent format" so all those are done.
If you create additional fields you will need to set the format to Percentage via the UI or API... Then Copy that updated Data View to your new Space.. via the UI or API.
You can see this by going through the UI or looking at them via the API.
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.