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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...