Getting Data In

How do I deal with inconsistent time formats from Microsoft Azure?

danielbb
Motivator

When ingesting Microsoft Azure data, we see different time formats for different Azure categories, and I wonder how to parse it correctly? Both timezones seem to be UTC. Is the proper approach to set 

TZ=UTC

and specify in datetime.xml the two formats?

{ 
   category: NonInteractiveUserSignInLogs
   time: 2024-07-30T18:02:42.0324621Z

. . .

}

{

   category: RiskyUsers
   time: 7/30/2024 1:48:56 PM

. . .

}
Labels (1)
Tags (2)
0 Karma

marnall
Motivator

Does Splunk parse the time correctly on its own? Try comparing the extracted time of the event with the time in the raw text of the event.

If they are the same and/or adjusted for timezone, then you are good to go.

If they are consistently different with one or more hours between them, then it is likely a timezone issue that can be fixed using props.conf

If they are variably different, then it could be a timestamp extraction issue.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...