Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

Syslog data connectors and local time zones

Copper Contributor

Is there a way of adding a local time zone to a syslog data connector to ensure Azure Sentinel is using the correct time?

 

Can the Linux agent https://docs.microsoft.com/en-us/azure/sentinel/connect-syslog do UTC conversion or tag the event with the local timezone data?

 

2 Replies
best response confirmed by JMROWE (Copper Contributor)
Solution

@JMROWE The agent doesn't do any translation so you would need to either do this on the Linux server before the syslog agent acquires it, use something like logstash on the Linux box to add a new column with the location time, or add a new column for local time when performing your query.

 

This page has more on using KQL to perform operations on dates

https://docs.microsoft.com/en-us/azure/kusto/query/datetime-timespan-arithmetic

BTW, when you perform queries in the Logs page, you can change the time that gets displayed to your local time. On the far side of the screen where the results are shown is a drop down to change how the time is displayed.
1 best response

Accepted Solutions
best response confirmed by JMROWE (Copper Contributor)
Solution

@JMROWE The agent doesn't do any translation so you would need to either do this on the Linux server before the syslog agent acquires it, use something like logstash on the Linux box to add a new column with the location time, or add a new column for local time when performing your query.

 

This page has more on using KQL to perform operations on dates

https://docs.microsoft.com/en-us/azure/kusto/query/datetime-timespan-arithmetic

View solution in original post