# How to get data using Logstash Monitoring APIs and send data to Elasticsearch index?

**URL:** <https://discuss.elastic.co/t/how-to-get-data-using-logstash-monitoring-apis-and-send-data-to-elasticsearch-index/66053>\
**Category:** Logstash\
**Created:** [November 15, 2016, 5:23am UTC](https://discuss.elastic.co/t/how-to-get-data-using-logstash-monitoring-apis-and-send-data-to-elasticsearch-index/66053 "2016-11-15T05:23:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 15, 2016, 5:23am UTC](https://discuss.elastic.co/t/how-to-get-data-using-logstash-monitoring-apis-and-send-data-to-elasticsearch-index/66053/1 "2016-11-15T05:23:30Z")

</div>

Hi,

I got to know that there are experimental Logstash [APIs](https://www.elastic.co/guide/en/logstash/current/monitoring.html) to get Logstash data. I decided to experiment with it. I opened Kibana Dev Tools Console and entered a sample query `GET /_node/pipeline` which returned;

```
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "No endpoint or operation is available at [pipeline]"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "No endpoint or operation is available at [pipeline]"
  },
  "status": 400
}

```

I would like to know how to use these APIs and how can I send that data to elasticsearch index periodically.

Thank you.

---

<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:** [December 13, 2016, 5:23am UTC](https://discuss.elastic.co/t/how-to-get-data-using-logstash-monitoring-apis-and-send-data-to-elasticsearch-index/66053/2 "2016-12-13T05:23:40Z")

</div>

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