# Is there a way to send Action logs to Datadog?

**URL:** <https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955>\
**Category:** Get Help\
**Tags:** logs, datadog, actions\
**Created:** [December 15, 2021, 1:38pm UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955 "2021-12-15T13:38:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![npatel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/npatel/32/15222_2.png) [@npatel](https://community.auth0.com/u/npatel)\
**Post date:** [December 15, 2021, 1:38pm UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955/1 "2021-12-15T13:38:00Z")

</div>

Hi,  
Is there a way to send auth0 action logs to Datadog? When i connect the stream logs i only see the “raw” part of the logs in datadog. But is there a way to get action logs so we can do some visualization on time taken by each actions etc?

Thanks.

---

<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:** [December 16, 2021, 9:55pm UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955/3 "2021-12-16T21:55:24Z")

</div>

Hi @npatel,

I’d like to get a bit more information about this and then I’ll reach out to our team.

Can you please provide an example of the log (_obfuscate sensitive data)_ you are seeing and exactly what else you would like to see added? I’ll take that info to the team and see their response. Thanks!

---

<div class="post-metadata">

**Author:** ![npatel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/npatel/32/15222_2.png) [@npatel](https://community.auth0.com/u/npatel)\
**Post date:** [December 17, 2021, 4:42am UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955/4 "2021-12-17T04:42:02Z")

</div>

Hey,  
These are the login logs that i see in Auth0 and in datadog.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/9/f95a562f5e94aa479151e1ba0d00e256c4506c43.png)

But this Action Details tab data/json is not there in datadog.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/7/4/74946a25aa771529c39750379e2b87d6dd658951.png)

We are moving from rules to Actions and i was thinking of using this to optimize each actions even further based on execution time. Also it would be nice to show them the timing difference when we switch from rules to actions.

---

<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:** [December 17, 2021, 5:15pm UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955/5 "2021-12-17T17:15:42Z")

</div>

Thanks for the added context. I’m going to pass this info along to the team.

---

<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:** [December 17, 2021, 6:18pm UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955/6 "2021-12-17T18:18:33Z")

</div>

Hi @npatel,

Those events aren’t currently available in the stream, as you’ve noted.

The team said it is possible to get the execution data with a bit of a workaround. Here is their solution:

> We don’t have those stats directly on the log stream, however, we do have an Execution ID on the log events that they can use to call the Management API to get that information for a single execution.
> 
> On the log event, the ID should be available under the actions key, such as:
> 
> ```auto
> "actions": {
> "executions": [
> "7jPkYDAkSmuky9ufnum5fTIwMjExMjE3"
> ]
> },
> 
> ```
> 
> And then they can use [this endpoint](https://auth0.com/docs/api/management/v2#!/Actions/get_execution) to get the detailed info.

It would also be valuable to create a [Feature Request](https://community.auth0.com/c/feedback/95) for this. If you have a moment, please create a request with details about your use case. If you are unable to, let me know and I’ll make sure to add one for you.

---

<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:** [January 1, 2022, 6:18pm UTC](https://community.auth0.com/t/is-there-a-way-to-send-action-logs-to-datadog/74955/7 "2022-01-01T18:18:44Z")

</div>

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