# Logstash pipeline monitoring

**URL:** https://discuss.elastic.co/t/logstash-pipeline-monitoring/205734
**Category:** Logstash
**Created:** [October 29, 2019, 5:49pm UTC](https://discuss.elastic.co/t/logstash-pipeline-monitoring/205734 "2019-10-29T17:49:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![funlearning321](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/funlearning321/32/56803_2.png) [@funlearning321](https://discuss.elastic.co/u/funlearning321)
#### Post date: [October 29, 2019, 5:49pm UTC](https://discuss.elastic.co/t/logstash-pipeline-monitoring/205734/1 "2019-10-29T17:49:39Z")

</div>

Hello,

Can i please know if there is a way to monitor the logstash pipelines that can trigger an alert if the pipeline is down using ELK? we have a X-pack.

Thanks

---

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [October 29, 2019, 5:54pm UTC](https://discuss.elastic.co/t/logstash-pipeline-monitoring/205734/2 "2019-10-29T17:54:16Z")

</div>

you can use Logstash monitoring API with Watcher

---

<div class="post-metadata">

### Author: ![funlearning321](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/funlearning321/32/56803_2.png) [@funlearning321](https://discuss.elastic.co/u/funlearning321)
#### Post date: [October 29, 2019, 9:45pm UTC](https://discuss.elastic.co/t/logstash-pipeline-monitoring/205734/3 "2019-10-29T21:45:17Z")

</div>

Thank you for the reply. I can use node stats API from the logstash monitoring API. But i dont see any attribute from pipeline stats that can help to understand whether the pipeline up or down. below is the sample pipeline stats outptut.

> {  
> "pipelines" : {  
> "test" : {  
> "events" : {  
> "duration\_in\_millis" : 365495,  
> "in" : 216485,  
> "filtered" : 216485,  
> "out" : 216485,  
> "queue\_push\_duration\_in\_millis" : 342466  
> },  
> "plugins" : {  
> "inputs" : [ {  
> "id" : "35131f351e2dc5ed13ee04265a8a5a1f95292165-1",  
> "events" : {  
> "out" : 216485,  
> "queue\_push\_duration\_in\_millis" : 342466  
> },  
> "name" : "beats"  
> } ],  
> "filters" : [ {  
> "id" : "35131f351e2dc5ed13ee04265a8a5a1f95292165-2",  
> "events" : {  
> "duration\_in\_millis" : 55969,  
> "in" : 216485,  
> "out" : 216485  
> },  
> "failures" : 216485,  
> "patterns\_per\_field" : {  
> "message" : 1  
> },  
> "name" : "grok"  
> }, {  
> "id" : "35131f351e2dc5ed13ee04265a8a5a1f95292165-3",  
> "events" : {  
> "duration\_in\_millis" : 3326,  
> "in" : 216485,  
> "out" : 216485  
> },  
> "name" : "geoip"  
> } ],  
> "outputs" : [ {  
> "id" : "35131f351e2dc5ed13ee04265a8a5a1f95292165-4",  
> "events" : {  
> "duration\_in\_millis" : 278557,  
> "in" : 216485,  
> "out" : 216485  
> },  
> "name" : "elasticsearch"  
> } ]  
> },  
> "reloads" : {  
> "last\_error" : null,  
> "successes" : 0,  
> "last\_success\_timestamp" : null,  
> "last\_failure\_timestamp" : null,  
> "failures" : 0  
> },  
> "queue" : {  
> "type" : "memory"  
> }  
> },  
> "test2" : {  
> "events" : {  
> "duration\_in\_millis" : 2222229,  
> "in" : 87247,  
> "filtered" : 87247,  
> "out" : 87247,  
> "queue\_push\_duration\_in\_millis" : 1532  
> },  
> "plugins" : {  
> "inputs" : [ {  
> "id" : "d7ea8941c0fc48ac58f89c84a9da482107472b82-1",  
> "events" : {  
> "out" : 87247,  
> "queue\_push\_duration\_in\_millis" : 1532  
> },  
> "name" : "twitter"  
> } ],  
> "filters" : ,  
> "outputs" : [ {  
> "id" : "d7ea8941c0fc48ac58f89c84a9da482107472b82-2",  
> "events" : {  
> "duration\_in\_millis" : 139545,  
> "in" : 87247,  
> "out" : 87247  
> },  
> "name" : "elasticsearch"  
> } ]  
> },  
> "reloads" : {  
> "last\_error" : null,  
> "successes" : 0,  
> "last\_success\_timestamp" : null,  
> "last\_failure\_timestamp" : null,  
> "failures" : 0  
> },  
> "queue" : {  
> "type" : "memory"  
> }  
> }  
> }

---

<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: [November 26, 2019, 9:45pm UTC](https://discuss.elastic.co/t/logstash-pipeline-monitoring/205734/4 "2019-11-26T21:45:23Z")

</div>

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