Hello, good morning.
Its possible to change the bar color based in the record input?
Example:
If Records > 100
Color = Red
Elif Records <= 100
Color = Yellow
Elif Records <= 50
Color = Green
Hello, good morning.
Its possible to change the bar color based in the record input?
Example:
If Records > 100
Color = Red
Elif Records <= 100
Color = Yellow
Elif Records <= 50
Color = Green
Hello @Mauro_Campos
Welcome to the Community!!
In metric view we have this kind of color specific conditions which can be applied.
If you still need this in bar diagram then we will have to use layering , please find below details related to same :
Example :
Red => average(bytes) * clamp(floor(average(bytes) / 15000), 0, 1)
Green => average(bytes) * clamp(floor(average(bytes) / 10000), 0, 1) - average(bytes) * clamp(floor(average(bytes) / 15000), 0, 1)
Blue => average(bytes) * clamp(floor(average(bytes) / 5000), 0, 1) - average(bytes) * clamp(floor(average(bytes) / 10000), 0, 1)
Thanks!!
© 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.