# How to add email to Log Stream?

**URL:** <https://community.auth0.com/t/how-to-add-email-to-log-stream/106374>\
**Category:** Get Help\
**Tags:** insights-monitoring, activity-page\
**Created:** [May 8, 2023, 6:47am UTC](https://community.auth0.com/t/how-to-add-email-to-log-stream/106374 "2023-05-08T06:47:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denis\_Maliutenko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denis_maliutenko/32/30290_2.png) [@Denis\_Maliutenko](https://community.auth0.com/u/Denis_Maliutenko)\
**Post date:** [May 8, 2023, 6:47am UTC](https://community.auth0.com/t/how-to-add-email-to-log-stream/106374/1 "2023-05-08T06:47:17Z")

</div>

Is it possible to add email to Log Streams’ payload?

---

<div class="post-metadata">

**Author:** ![yoav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yoav/32/26050_2.png) [@yoav](https://community.auth0.com/u/yoav)\
**Post date:** [May 8, 2023, 3:02pm UTC](https://community.auth0.com/t/how-to-add-email-to-log-stream/106374/2 "2023-05-08T15:02:34Z")

</div>

Hey Denis,  
We are working on providing an element of metadata in the tenant logs through log streaming. Outside of that there is no way currently to customize the log stream payload.  
What is the reason behind adding emails to the log stream payload?

---

<div class="post-metadata">

**Author:** ![Denis\_Maliutenko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denis_maliutenko/32/30290_2.png) [@Denis\_Maliutenko](https://community.auth0.com/u/Denis_Maliutenko)\
**Post date:** [May 9, 2023, 11:40am UTC](https://community.auth0.com/t/how-to-add-email-to-log-stream/106374/3 "2023-05-09T11:40:59Z")

</div>

We need to search users’ actions through logs but we can’t use a user ID for a query because the same user can have different IDs.  
Multiple IDs are created if they sign up using Database connection and then sign in using Social. Each auth flow creates a new profile so every profile has an ID. We merge user profiles using Auth0 Rules. Emails will make it possible to find user actions in logs no matter what auth flow is used.

---

<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:** [May 23, 2023, 11:41am UTC](https://community.auth0.com/t/how-to-add-email-to-log-stream/106374/4 "2023-05-23T11:41:45Z")

</div>

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