i do try the following way in Kibana but none of them fulfill my need.
My data set sample (i try to use Boolean , String and Integer to see which one work):
{time:'2022/01/07 11:11:11', serviceName : "ServiceA", isServerOnBoolean : true, isServerOnString : 'On', isServerOnInteger : 1}
Using Metrics visualization
by using "TopHit" with isServerOnString , i may display the status. But i cannot change the color since Metrics only accept color range based on numeric. If i use "TopHit" with "isServerOnInteger ", i may use the color range. But the metrics will display "ServiceA 1" which is strange..
Using MarkDown in Tsvb
i would like to use the MarkDown with Handlebar (using If) with Css to "visualize" the effect. But i found that the MarkDown in Tsvb don't support class. So i cannot use class to separate different css.(for example if isServerOnBoolean.TopHit.raw then using css table "on" class).
Vega
Most of the time when elastic stack expert will told us to have a look on vega when the visualization is not provided. But i cannot find any similar sample on that.
Anyone may have some suggestion for me? In Grafana it is very easy to make it. But in Kibana i found that it is difficult for me.
@flash1293 Is there any issue with a feature request for a visualization like the one shared by the OP?
I had a similar need sometime ago when I was trying to move my monitoring dashboards from Grafana to Kibana and gave up because it was not possible to easily have a visualization like that in Kibana.
Changing only the color of the text does not help as it is pretty common to have this kind of visualization on TVs and a squared filled with color is way easy to see.
If there is an open issue with this feature request I would happily give my input.
Here is a quick proof of concept in Vega. It's incomplete and could use some styling and centering but it might give you an idea how this can be done there.
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.