# Logstash webhook when parsing is done

**URL:** <https://discuss.elastic.co/t/logstash-webhook-when-parsing-is-done/326050>\
**Category:** Logstash\
**Created:** [February 21, 2023, 10:49am UTC](https://discuss.elastic.co/t/logstash-webhook-when-parsing-is-done/326050 "2023-02-21T10:49:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jirka\_Liska](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jirka_liska/32/117513_2.png) [@Jirka\_Liska](https://discuss.elastic.co/u/Jirka_Liska)\
**Post date:** [February 21, 2023, 10:49am UTC](https://discuss.elastic.co/t/logstash-webhook-when-parsing-is-done/326050/1 "2023-02-21T10:49:26Z")

</div>

Hello community! I'm currently working on integration elastic stack with my custom application. I'm trying to find out if possible for **logstash to create webook call when processing is done?** The workload is:

File upload over custom app -\> Filebeat grab uploaded file and send it to Logstash -\> Logstash process data and send it to Elasticsearch.

Thanks in advance for any input!

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [February 21, 2023, 12:59pm UTC](https://discuss.elastic.co/t/logstash-webhook-when-parsing-is-done/326050/2 "2023-02-21T12:59:33Z")

</div>

> [@Jirka\_Liska](#):
>
> I'm trying to find out if possible for **logstash to create webook call when processing is done?**

Not possible, Logstash normally runs as a service or until it is stopped, it has no knowledge if it is done with processing or if it will receive anything else to process.

Depending on your data you may trick Logstash to call a webhook if it receives an specific message, but it also has some limitations, since Logstash process data in parallel you would need to configure it to use only one thread so it would process the messages sequentially.

This way you could add a line at the end of your file and when Logstash process this line you can configure it to use the `http` filter to call a webhook.

---

<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:** [March 21, 2023, 12:59pm UTC](https://discuss.elastic.co/t/logstash-webhook-when-parsing-is-done/326050/3 "2023-03-21T12:59:37Z")

</div>

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