Splunk Search

Is the result of "strptime" in seconds?

rosho
Communicator

Hi

I would like to know if the results of "strptime" are in seconds?

index=main sourcetype=access_combined  host=vsalinux06   
|eval kb=bytes/1024
| eval desired_time=strptime(req_time, "%d/%B/%Y:%I:%M:%S %z")
| table method uri desired_time

alt text

0 Karma
1 Solution

rosho
Communicator

It is a Unix timestamp

View solution in original post

0 Karma

rosho
Communicator

It is a Unix timestamp

0 Karma

vnravikumar
Champion
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...