I'm having a couple of metric outputs to show average processing times, but I get alot of decimals in my answers.
I've tried to set the number formatting for the field I'm calculating the average from, but still there is alot of decimals.
Any ideas?
I'm having a couple of metric outputs to show average processing times, but I get alot of decimals in my answers.
I've tried to set the number formatting for the field I'm calculating the average from, but still there is alot of decimals.
Any ideas?
Hello,
That doesn't look like the the same field is being used in your metric visualization. You have Task time as the field used in the first screenshot and another one in the second screenshot. Are you using that second field in something like a scripted field?
Hi!
TaskTime is used in both places, and both TaskTime and kpiData.Execution Time (Clock).long are formatted with only one decimal.
Ok, trying to track down the issue. Are you using 5.6.0 or a newer version of Kibana? If not, you might be encountering the problem that has been fixed in this PR: https://github.com/elastic/kibana/pull/12913
I'm using 5.6.1. Should I upgrade the files as in this instruction?
https://github.com/Dreadnoth/kibana/commit/fea4ee1ae076ae159427f999010ceab60f3d5114
I just checked this locally and it looks like it's a regression. It seems that the average metric doesn't take in account the formatting for the field if you do a Split by field, like you're doing there.
I've opened a new bug on this here: https://github.com/elastic/kibana/issues/14445
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.