Why is the type of system.cpu.total.norm.pct is long?

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.

Hi @Gaurangi,
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

This topic was automatically closed after 21 days. New replies are no longer allowed.