sbeyn / kibana-plugin-traffic-sg

Plugin for Kibana Version 4.x and 5.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No result is displayed when there is no data

olifer opened this issue · comments

Hello,

While using the traffic light plugin, I expect to see a green light when there is no data found (for instance, there are no internal service errors in iis log). However, there is just a text "No results found" shown.
Do I miss some setting or is it intended to work this way?

Regards,
Maxim

commented

Olifer

This is the normal operation of the plugin. Indeed, it might be nice to add a option for set a status default ...

+1

It would be nice to default to either red or green if no results were found, rather than killing the visualization.

If you don't want the visualization to disappear when there are no results add the following line to the params definitions in traffic_sg.js

handleNoResults: true

commented

it is done.