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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...