# Auth0 Event Logs sometimes missing metadata

**URL:** <https://community.auth0.com/t/auth0-event-logs-sometimes-missing-metadata/90154>\
**Category:** Get Help\
**Created:** [September 7, 2022, 3:10pm UTC](https://community.auth0.com/t/auth0-event-logs-sometimes-missing-metadata/90154 "2022-09-07T15:10:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigbramhall](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/craigbramhall/32/15439_2.png) [@craigbramhall](https://community.auth0.com/u/craigbramhall)\
**Post date:** [September 7, 2022, 3:10pm UTC](https://community.auth0.com/t/auth0-event-logs-sometimes-missing-metadata/90154/1 "2022-09-07T15:10:38Z")

</div>

Hi, I’m trying to ensure that user.meta\_data is included in my log-stream to AWS Eventbridge. It appears to be provided on the “Success Signup” event, but not on “Success Login”. Am I able to specify the structure of the Auth0 Log? Can I use a rule to include this metadata for example?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [September 7, 2022, 4:37pm UTC](https://community.auth0.com/t/auth0-event-logs-sometimes-missing-metadata/90154/4 "2022-09-07T16:37:05Z")

</div>

Hi @craigbramhall ,

Welcome to the Auth0 Community!

I noticed that you opened a Support ticket for the same query. Once the ticket is solved, I will add the solution to this topic. Thanks!

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 27, 2022, 9:10pm UTC](https://community.auth0.com/t/auth0-event-logs-sometimes-missing-metadata/90154/5 "2022-10-27T21:10:18Z")

</div>

Below is the answer provided by our Support team regarding this query:

Unfortunately, you cannot specify the structure of the Auth0 Log.

Can I use a rule/action to include this metadata for example? - While researching for this I could see at the moment there’s no ideal solution to write custom entries to the Auth0 logs. But, you can add console.log statements in the respective Hooks and then those logs can be flushed to say Splunk or sumo using the node js libraries ([splunk-logging - npm](https://www.npmjs.com/package/splunk-logging)).

Here is a sample code to send to Sumo from Custom DB or Rule or Hook: [logging.js · GitHub](https://gist.github.com/sandeepneerarambham/ce9fb336457a4297b8da35b8059f1591)

---

<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 10, 2022, 9:10pm UTC](https://community.auth0.com/t/auth0-event-logs-sometimes-missing-metadata/90154/6 "2022-11-10T21:10:21Z")

</div>

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