# How to monitor kibana from CLI(command line interface)

**URL:** <https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906>\
**Category:** Kibana\
**Created:** [May 25, 2016, 6:05am UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906 "2016-05-25T06:05:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreenivasu](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sreenivasu](https://discuss.elastic.co/u/sreenivasu)\
**Post date:** [May 25, 2016, 6:05am UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/1 "2016-05-25T06:05:42Z")

</div>

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://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://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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 25, 2016, 9:14am UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/2 "2016-05-25T09:14:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Marcin\_Kubica](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_kubica/32/5614_2.png) [@Marcin\_Kubica](https://discuss.elastic.co/u/Marcin_Kubica)\
**Post date:** [May 25, 2016, 12:02pm UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/3 "2016-05-25T12:02:40Z")

</div>

```auto
# 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

```

---

<div class="post-metadata">

**Author:** ![sreenivasu](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sreenivasu](https://discuss.elastic.co/u/sreenivasu)\
**Post date:** [May 25, 2016, 12:48pm UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/4 "2016-05-25T12:48:57Z")

</div>

Thanks Marcin\_Kubica

---

<div class="post-metadata">

**Author:** ![sreenivasu](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sreenivasu](https://discuss.elastic.co/u/sreenivasu)\
**Post date:** [May 26, 2016, 1:12pm UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/5 "2016-05-26T13:12:21Z")

</div>

Dear Marcin\_Kubica,

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

> [@Proxy is not working in 4.4 kibana](https://discuss.elastic.co/t/proxy-is-not-working-in-4-4-kibana/49045/3):
>
> Dear Shaunak, Please find the requested data. Kiabana.yml Kibana is served by a back end server. This controls which port to use. server.port: 5601 The host to bind the server to. server.host: "192.168.17.73" If you are running kibana behind a proxy, and want to mount it at a path, specify that path here. The basePath can't end in a slash. server.basePath: "/kibana" The maximum payload size in bytes on incoming server requests. server.maxPayloadBytes: 1048576 The Elasticsearch instance to u…

Thanks  
Sreenivasu

---

<div class="post-metadata">

**Author:** ![Marcin\_Kubica](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_kubica/32/5614_2.png) [@Marcin\_Kubica](https://discuss.elastic.co/u/Marcin_Kubica)\
**Post date:** [June 3, 2016, 8:22am UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/6 "2016-06-03T08:22:40Z")

</div>

Replied in that thread 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:51pm UTC](https://discuss.elastic.co/t/how-to-monitor-kibana-from-cli-command-line-interface/50906/7 "2017-07-06T13:51:37Z")

</div>


