All Apps and Add-ons

Splunk Add-on for Box not timezone offsetting correctly

pj
Contributor

It seems there may be a timestamping issue in the Splunk Add-on for Box. The timestamp from Box is 26 characters long if you include the timezone. However the app is set to a MAX_TIMESTAMP_LOOKAHEAD = 20. As a result, the timezone is not taken into consideration and data is indexed at the incorrect time. The fix would be to adjust every sourcetype in props.conf to MAX_TIMESTAMP_LOOKAHEAD = 26. Thanks

0 Karma

kchen_splunk
Splunk Employee
Splunk Employee

MAX_TIMESTAMP_LOOKAHEAD is not the length of timestamp instead it tells Splunkd how many chars at most to look at when scan the timestamp. By default, splunkd should take into timezone when it detects timestamp.

0 Karma

pj
Contributor

Yes, indeed it does - and by not including the timezone part of the timestamp, the timezone is not accounted for, as it falls outside the current limit of 20 chars. Having implemented the fix that I advised using a local props.conf config and extending to 26 chars, I can tell you it works perfectly and the timezone is now taken into consideration. With a limit of 20, this was not the case.

0 Karma

mreynov_splunk
Splunk Employee
Splunk Employee

Thanks for the feedback! We will work on integrating the fix into our codebase.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...