When setting up Kibana behind a load balancer or for monitoring Kibana health a machine readable status page would be very helpful. Per the status documentation Kibana provides {host}/status which gives a stoplight color like elasticsearch. However, this appears to be rendered Javascript. If I hit a green node with cURL I see a bunch of scripts, but no status line. Grepping for the status (green):
$ curl -H "Accept: application/json" eskibana1.vagrant.tjnii.local:5601/status -s | grep -i green | wc -l
0
Note that I passed 'Accept: application/json' in hopes of getting a machine friendly output, but it had no effect.
It would be super useful to allow dumb HTTP clients without a JS engine to query the health of Kibana. This would allow monitoring to check Kibana health and allow load balancers to only allow green nodes in the pool. Please consider adding this as a feature, thanks.
Try http://localhost:5601/api/status
, does this help?
Yes, exactly what I was looking for. Thanks!
Most helpful comment
Try
http://localhost:5601/api/status
, does this help?