Hello,
How can I recreate this in a custom dashboard:
Using Heartbeat/Synthetics data.
I can't seem to make the Metric visualization be dynamic for text or keywords.
Hello,
How can I recreate this in a custom dashboard:
Using Heartbeat/Synthetics data.
I can't seem to make the Metric visualization be dynamic for text or keywords.
Not so easy.....
Add a field to the Data View that is numeric / long
Code
long status = 1;
if ( doc['monitor.status'].value == 'down' )
{
status = 0;
}
emit(status)
Then create viz... metric with
last_value(monitor.status_num)
Break down by monitor.name
I don't have any down at the moment
@stephenb
thanks is it not possible to display "up" and "down"?
As far as I know Not in a metric which by definition works on numerics.
You could probably use table visualizations if you want text
@stephenb
Sometimes kibana can be very limiting, thanks for the help!
© 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.