# Launch Logstash Pipeline through API

**URL:** <https://discuss.elastic.co/t/launch-logstash-pipeline-through-api/260761>\
**Category:** Logstash\
**Created:** [January 11, 2021, 8:00pm UTC](https://discuss.elastic.co/t/launch-logstash-pipeline-through-api/260761 "2021-01-11T20:00:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctan](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@ctan](https://discuss.elastic.co/u/ctan)\
**Post date:** [January 11, 2021, 8:00pm UTC](https://discuss.elastic.co/t/launch-logstash-pipeline-through-api/260761/1 "2021-01-11T20:00:36Z")

</div>

I would like to find a way to launch a Logstash pipeline through the API. The use case is that an application is going to write directly to Elasticsearch, and when it is done we want Logstash to kick-off and do it's thing.

Any way for Logstash to see new documents in an index or to have Logstash start a pipeline based on an API call when the original injection is complete?

Thoughts?

---

<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:** [February 8, 2021, 8:00pm UTC](https://discuss.elastic.co/t/launch-logstash-pipeline-through-api/260761/2 "2021-02-08T20:00:40Z")

</div>

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