# Auth0 action webtask log streaming to datadog

**URL:** <https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204>\
**Category:** Get Help\
**Tags:** datadog, log-streaming, log, webtask\
**Created:** [February 13, 2022, 11:04pm UTC](https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204 "2022-02-13T23:04:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![billyf](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/billyf/32/33224_2.png) [@billyf](https://community.auth0.com/u/billyf)\
**Post date:** [February 13, 2022, 11:04pm UTC](https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204/1 "2022-02-13T23:04:07Z")

</div>

Hi there,

I see there is a way to create a log stream that sends auth0 event logging to datadog: [https://marketplace.auth0.com/integrations/datadog-log-streaming](https://marketplace.auth0.com/integrations/datadog-log-streaming). But it doesn’t include the logging produced in the custom code from actions.

I wonder if there is a way to create a log stream that sends auth0 action/hook log to datadog? I only see there is a realtime webtask log extension ([Real-time Webtask Logs Extension](https://auth0.com/docs/customize/extensions/real-time-webtask-logs)), but it doesn’t create a stream to send the log elsewhere for additional processing.

Thanks

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 14, 2022, 5:04pm UTC](https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204/2 "2022-02-14T17:04:06Z")

</div>

As far as I know, at this time there is no way to send RT webtask logs anywhere. Tenant logs can certainly be sent to datadog, but not webtask logs unfortunately.

You might be able to figure out a way to scrape the raw webtask logs. The raw logs can be pulled from a URL that looks like:

```auto
https://${TENANT_DOMAIN}.auth0.com/api/logs/tenant/${TENANT_NAME}?key=${KEY}

```

but you need the `${KEY}` which comes from the RT webtask log extension itself.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 15, 2022, 12:17pm UTC](https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204/3 "2022-02-15T12:17:03Z")

</div>

That’s correct! Thanks for helping here Mark!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 22, 2022, 2:22pm UTC](https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204/4 "2022-02-22T14:22:31Z")

</div>


