Splunk Search

Why am I not able to store job earliest time and latest time in variables for further use?

spitchika
Path Finder

Hi,

I want to store earliest and latest times of my search in variables to use them in further operations.

But I am unable to do so. I am trying like below.

| makeresults
| eval jobEarliestTime = $job.earliestTime$
| eval jobLatestTime = $job.latestTime$

Could anyone help me on this?

Thank You.

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Check out the addinfo command.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Check out the addinfo command.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...