# Export Real-time webtask logs(Extension) console.log in Splunk or Tenant level logs

**URL:** <https://community.auth0.com/t/export-real-time-webtask-logs-extension-console-log-in-splunk-or-tenant-level-logs/91289>\
**Category:** Get Help\
**Tags:** tenant-logs, logs\
**Created:** [September 26, 2022, 11:39am UTC](https://community.auth0.com/t/export-real-time-webtask-logs-extension-console-log-in-splunk-or-tenant-level-logs/91289 "2022-09-26T11:39:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsathish](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vsathish/32/34789_2.png) [@vsathish](https://community.auth0.com/u/vsathish)\
**Post date:** [September 26, 2022, 11:39am UTC](https://community.auth0.com/t/export-real-time-webtask-logs-extension-console-log-in-splunk-or-tenant-level-logs/91289/1 "2022-09-26T11:39:11Z")

</div>

Hi Auth0 Team,  
In rules, actions, login script - We are wirting our logs using console.log() which we can see it in Real-time webtasks logs extension. But we wanted these logs to be exported to Splunk or Tenant level event logs.

Please let us know if any option available to export console.logs.

---

<div class="post-metadata">

**Author:** ![gparascandolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gparascandolo/32/38788_2.png) [@gparascandolo](https://community.auth0.com/u/gparascandolo)\
**Post date:** [September 26, 2022, 1:41pm UTC](https://community.auth0.com/t/export-real-time-webtask-logs-extension-console-log-in-splunk-or-tenant-level-logs/91289/2 "2022-09-26T13:41:00Z")

</div>

Hi @vsathish, this answer from another post might help you:

> [@Auth0 action webtask log streaming to datadog](https://community.auth0.com/t/auth0-action-webtask-log-streaming-to-datadog/78204/2):
>
> 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: 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:** ![vsathish](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vsathish/32/34789_2.png) [@vsathish](https://community.auth0.com/u/vsathish)\
**Post date:** [September 27, 2022, 7:31am UTC](https://community.auth0.com/t/export-real-time-webtask-logs-extension-console-log-in-splunk-or-tenant-level-logs/91289/3 "2022-09-27T07:31:35Z")

</div>

Hi Gianfranco,  
Thank you for the response. Could you please help me how to get ${KEY} value.

@konrad.sopala, @jmangelo, @dan.woda

---

<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:** [November 20, 2024, 9:28pm UTC](https://community.auth0.com/t/export-real-time-webtask-logs-extension-console-log-in-splunk-or-tenant-level-logs/91289/4 "2024-11-20T21:28:33Z")

</div>

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