How to monitor kibana from CLI(command line interface)

Dear Team,

Please share how to monitor kibana and Logstash from CLI .

For Example:

In case of Elasticsearch it shows 200 OK,
root@BLR-SOFT-203:~# curl -I http://localhost:9200
HTTP/1.1 200 OK
Content-Type: text/plain; charset=UTF-8
Content-Length: 0

In case of Kibana,Logstash

root@BLR-SOFT-203:~# curl -I http://localhost:5601/status
HTTP/1.1 400 Bad Request
kbn-name: kibana
kbn-version: 4.4.1
content-type: application/json; charset=utf-8
cache-control: no-cache
Date: Wed, 25 May 2016 06:00:17 GMT
Connection: keep-alive

Not only curl, is there any way to get the status 200.

Thanks
Sreeni

KB doesn't have APIs for that at this point, they are being planned though.

# curl -XGET http://localhost:5601/status -I
HTTP/1.1 200 OK
kbn-name: kibana
kbn-version: 4.5.0
cache-control: no-cache
content-type: text/html
content-length: 18568
accept-ranges: bytes
Date: Wed, 25 May 2016 12:01:42 GMT
Connection: keep-alive
2 Likes

Thanks Marcin_Kubica

Dear Marcin_Kubica,

I logged the same related issue, colud you please help me for the same.

Thanks
Sreenivasu

Replied in that thread :wink: