Getting Data In

How to get date and time from this format?

mdzmuran
Observer

I have date and time in this format,

[2010/01/14@08:43:17.561+0100]

How to read it correctly into Splunk?

0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Give this a try (props.conf on your indexer/heavy forwarder)

[yoursourcetype]
 ....other line breaking stuffs...
 TIME_PREFIX = \[
 TIME_FORMAT = %Y/%m/%d@%H:%M:%S.%3N%z
 MAX_TIMESTAMP_LOOKAHEAD = 28

View solution in original post

somesoni2
SplunkTrust
SplunkTrust

Give this a try (props.conf on your indexer/heavy forwarder)

[yoursourcetype]
 ....other line breaking stuffs...
 TIME_PREFIX = \[
 TIME_FORMAT = %Y/%m/%d@%H:%M:%S.%3N%z
 MAX_TIMESTAMP_LOOKAHEAD = 28
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...