Splunk Search

Splunk UI query start and end time

eranhauser
Path Finder

How can one add to the result of a Splunk query running on Splunk UI the time span i.e. the values one can put in earliest_time and latest_time (the earliest and latest time are coming only from the drop down of the time span in Splunk UI)

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @eranhauser ... i am sorry, i am unable to understand your query.. 

you are running a search.. Would you like to know exactly when the SPL started to run and exactly when the SPL finished running? or you want to include these values inside the search itself?

Did you check the "Inspect Job" ?!?!

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

eranhauser
Path Finder

I am going to run my query using a scheduler so I want to record in each event the time span the query used to capture that event

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Please run that scheduled search query and then check the "inspect job".. you will get more than you wanted. thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

eranhauser
Path Finder

I need these times in the event itself

0 Karma

inventsekar
SplunkTrust
SplunkTrust

then you should invent the timemachine, get the results, go back in time and update the results inside the event itself. <bootstrap paradox>

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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