Getting Data In

timestamp question

a212830
Champion

Hi,

I have a timestamp that isn't covered in the standard strptime options:

0:53:52.335 (one zero for midnight)

After midnight, it's handled in standard 24 hour timeformat. Any suggestions?

Tags (2)

gkanapathy
Splunk Employee
Splunk Employee

This should be handled by %H. strptime accepts leading zeros (00) but doesn't require them.

0 Karma
Get Updates on the Splunk Community!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...