What I want is I have a data of disk usage I want alerting on it the data contain: disk_used: 10 GB like JSON I want to define a mapping in Kibana so that I can have an alerting condition for disk usage greater than 10 GB I tried to search the same problem but I did not find any useful solution until now, the same problem is with percentage i.e disk_utilization: 15%.
How to define a mapping for it I tried something like this:
In short, I think you want to map these fields as "type": "float". The "Format" for how the field is formatted in Kibana can be changed in the Kibana index-pattern.
@shanky1997 You can not change the mappings of an index that is already created. You need to reindex your data into a new index. Reindex API is one way of doing it.
The Bytes format setting from your screenshot applies formatting to numerical field in your index patterns that have the "Bytes" format (third column).
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.