Getting Data In

timestamp question

a212830
Champion

hI,

Setting up a syslog feed and run into something that I haven't yet:

2014-03-17T02:02:26-04:00

What does the T stand for? The time is one hour behind the current timestamp, so I'm assuming that it's a timezone?

Tags (1)
0 Karma

starcher
Influencer

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf?r=splunky
If Splunk is not auto detecting the timezone, you can force the timezone for a sourcetype as shown in the props documentation linked above; look for TZ =

starcher
Influencer

T stands for time. the timezone adjustment is the -4:00 at the end.

0 Karma

a212830
Champion

Don't want to do it without props - trying to follow the recommended guidelines - configuring time_zone, time_format....

Here's what I have:

[acme_syslog]
MAX_TIMESTAMP_LOOKAHEAD = 30
NO_BINARY_CHECK = 1
TIME_FORMAT = %y-%m-%dT%H:%M:%S
SHOULD_LINEMERGE = false
TIME_PREFIX = ^
LINE_BREAKER = ([\r\n]+)
TZ = US/Central

0 Karma

somesoni2
Revered Legend

Splunk can process this format without any props.conf configuration.

0 Karma

a212830
Champion

Thanks. I looked at the doc, but I'm still unclear. How would you reference the T? Or would you reference the -4:00?

0 Karma

a212830
Champion

So, how would I configure that in props.conf?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...