Splunk Search

setting the time format for timezone offset in props

kteng2024
Path Finder

hi,

I would like extract the timezone offset in time format in props.
example time format , 2017-02-05T01:20:10.049-0500: 0.855:

TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N-%Z

But the above timeformat which i defined is not working. I want my timestamp in splunk to have upto 2017-02-05T01:20:10.049-0500 ignoring 0.855

0 Karma
1 Solution

bshuler_splunk
Splunk Employee
Splunk Employee

%Y-%m-%dT%H:%M:%S.%3N%Z

View solution in original post

bshuler_splunk
Splunk Employee
Splunk Employee

%Y-%m-%dT%H:%M:%S.%3N%Z

kteng2024
Path Finder

thank you for reply but it is not working.

0 Karma

woodcock
Esteemed Legend

This needs to be deployed to your indexers and splunkd restarted there and even then only events that are indexed post-restart will show the effects of the new configurations.

woodcock
Esteemed Legend

I see that this is accepted; so is it working now?

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...