# Check filebeat status using API on local host

**URL:** https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594
**Category:** Beats
**Tags:** filebeat
**Created:** [May 30, 2019, 6:40pm UTC](https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594 "2019-05-30T18:40:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rahulnathan](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rahulnathan](https://discuss.elastic.co/u/rahulnathan)
#### Post date: [May 30, 2019, 6:40pm UTC](https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594/1 "2019-05-30T18:40:28Z")

</div>

Hello,

Is it possible to check filebeat status locally on the host using API/CLI where it is running ?  
We are trying to build monitoring around filebeat to check whether it is up, connected to remote ElasticSearch endpoint correctly and processing logs.

Thanks,  
Rahul

---

<div class="post-metadata">

### Author: ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)
#### Post date: [May 30, 2019, 6:56pm UTC](https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594/2 "2019-05-30T18:56:59Z")

</div>

Yes, see [https://www.elastic.co/guide/en/beats/filebeat/current/http-endpoint.html](https://www.elastic.co/guide/en/beats/filebeat/current/http-endpoint.html).

---

<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 30, 2019, 10:21pm UTC](https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594/3 "2019-05-30T22:21:16Z")

</div>

Why not use our Monitoring functionality to do this?

---

<div class="post-metadata">

### Author: ![rahulnathan](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rahulnathan](https://discuss.elastic.co/u/rahulnathan)
#### Post date: [May 30, 2019, 10:38pm UTC](https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594/4 "2019-05-30T22:38:14Z")

</div>

Thanks @shaunak.

@warkolm, Do you mean centralized monitoring from Kibana ?  
Our immediate requirement is to make sure filebeat is up and running with correct version when any changes on the host machine happens. In case of issues, would like to rollback. Hence, the need for local host based basic monitoring.

---

<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: [June 27, 2019, 10:38pm UTC](https://discuss.elastic.co/t/check-filebeat-status-using-api-on-local-host/183594/5 "2019-06-27T22:38:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
