Forum Discussion
Vel
Jun 13, 2024Copper Contributor
Issue with Capturing Email Subject from URL Click Events
Hi Sentinel Community, I am encountering an issue where the email subject line is not being captured correctly for certain records in my URL click event table. My goal is to get the URLs clicked by ...
Clive_Watson
Jun 14, 2024Bronze Contributor
On line 3 you are using a leftouter join. Using no join type or inner would resolve this
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/join-leftouter
The docs say:"Rows: All records from the left table and only matching rows from the right table."
So in your case all the NetworkMesageIDs are being shown even if they DONT have a match
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/join-leftouter
The docs say:"Rows: All records from the left table and only matching rows from the right table."
So in your case all the NetworkMesageIDs are being shown even if they DONT have a match
- VelJun 14, 2024Copper ContributorHi Clive_Watson,
You are right. I can apply an inner join, but in that case, I will only get the common records from both tables (the email event table and the URL click event table). However, my motive is different i need to get all url from url click event table and there mail details if the work load in email .
Let's assume user "abc" clicked 6 URLs. Out of these 6 URLs, 3 came from the team application. When I tried to join both tables based on the network message ID, I couldn't get the subject and sender details. The remaining 3 URLs are showing the workload as "email," which indicates that the URLs came from an email.
When I searched for the email in the email event table based on the network message ID, there was no result. It seems the network message ID has only been captured in the URL click event table. Is there any specific reason why the email details were not captured in the email event table, even though the workload is mentioned as "email" in the URL click event table?