# Logs stream custom webhook method

**URL:** <https://community.auth0.com/t/logs-stream-custom-webhook-method/50999>\
**Category:** Get Help\
**Tags:** logs\
**Created:** [October 5, 2020, 1:52pm UTC](https://community.auth0.com/t/logs-stream-custom-webhook-method/50999 "2020-10-05T13:52:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alain.bodiguel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alain.bodiguel/32/14378_2.png) [@alain.bodiguel](https://community.auth0.com/u/alain.bodiguel)\
**Post date:** [October 5, 2020, 1:52pm UTC](https://community.auth0.com/t/logs-stream-custom-webhook-method/50999/1 "2020-10-05T13:52:37Z")

</div>

Hi there,  
We want to create a custom webhook in order to stream Auth0 logs to an ingest node on Elasticsearch.  
Unfortunately, the webhook is sending a POST request whereas the ES ingest request expects a PUT method. Any possibility to enrich the webhook creation with the choice of method to use?  
Alternatively, a way to send logs to ES would be appreciated 🙂

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 5, 2020, 10:24pm UTC](https://community.auth0.com/t/logs-stream-custom-webhook-method/50999/3 "2020-10-05T22:24:14Z")

</div>

Hi @alain.bodiguel,

> [@alain.bodiguel](#):
>
> Unfortunately, the webhook is sending a POST request whereas the ES ingest request expects a PUT method. Any possibility to enrich the webhook creation with the choice of method to use?

You can submit an official feature request for this [here](https://auth0.com/feedback)! 😄

Also, are you using logstash? If so, there is an extension:

> **[Create Custom Log Streams Using Webhooks](https://auth0.com/docs/customize/log-streams/custom-log-streams)**
>
> Learn how to configure a log stream using a custom webhook to stream log events to the URL of your choice.

---

<div class="post-metadata">

**Author:** ![alain.bodiguel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alain.bodiguel/32/14378_2.png) [@alain.bodiguel](https://community.auth0.com/u/alain.bodiguel)\
**Post date:** [October 6, 2020, 6:51am UTC](https://community.auth0.com/t/logs-stream-custom-webhook-method/50999/4 "2020-10-06T06:51:25Z")

</div>

Thank you Dan. I’ve submitted the request as you suggest.  
We’d prefer to avoid Logstash as ES provides a pipeline feature that does exactly the same without the need to install logstash somewhere.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 6, 2020, 3:08pm UTC](https://community.auth0.com/t/logs-stream-custom-webhook-method/50999/5 "2020-10-06T15:08:07Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 21, 2020, 3:08pm UTC](https://community.auth0.com/t/logs-stream-custom-webhook-method/50999/6 "2020-10-21T15:08:13Z")

</div>

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