I used metricbeat to fetch cpu& process cpu metrics to elasticsearch.
When trying to get the system.cpu.total.norm.pct usage by aggregation, it always get 0.
I typed the query in kibana and found that within the tips that its type is long. Why long not float?
Which version of metricbeat, kibana, logstash, elasticsearch are you using?
How did you configure the template setup in Elasticsearch?
According to this metricbeat is using scaled_float.
scaled_float
Hi @steffens,
Thank you very much. It's proved that the error caused by wrong template. I loaded the template manually and new data. Then came the right result.
Thanks again.
Regards
© 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.