Splunk Search

How to generate a search to identify scheduled jobs by user?

vadlamudi
Explorer

hi,

Can anyone please help me with a search to to identify scheduled jobs for abc and xyz application and the user owning that job? i know i need to use index=_internal and source=scheduler.log. But i am not getting the exact requirement that i need.

0 Karma

vasanthmss
Motivator

Check this,

https://answers.splunk.com/answers/494555/is-there-any-way-to-list-all-the-saved-searches-in-1.html#...

check the below query

| rest /services/saved/searches | where is_scheduled=1 

for historical scheduled searches use the below query,

index=_internal sourcetype=scheduler  | table _time user savedsearch_name status scheduled_time run_time result_count *
V
0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...