Security

question on loadjob command

jip31
Motivator

hi

I use loadjob command in my dashboard
they are scheduled every hour
if i want to have date displayed im forced to go in my dashboard before the schedule occurs, i have to wait for the schedule and after to refresh the dashboard in order to have data
at the beginning i have the message "Cannot find artifacts"

| loadjob savedsearch="admin:FO_Workstations_Monitoring:FO_EventServiceLog_Serv5" 

what I have to do please??

Tags (1)
0 Karma
1 Solution

nikita_p
Contributor

Hi,
You can try the search mentioned below:
|loadjob [rest /services/saved/searches/mysearchname/history splunk_server=local |where isDone==1 |eventstats max(ttl) as maxttl |where ttl==maxttl |return $title]

Also PFB link on splunk answers, they have explained what all are the possibilities of these error you are facing. This might help you.
https://answers.splunk.com/answers/318096/why-am-i-getting-loadjob-error-cannot-find-artifac.html

View solution in original post

0 Karma

nikita_p
Contributor

Hi,
You can try the search mentioned below:
|loadjob [rest /services/saved/searches/mysearchname/history splunk_server=local |where isDone==1 |eventstats max(ttl) as maxttl |where ttl==maxttl |return $title]

Also PFB link on splunk answers, they have explained what all are the possibilities of these error you are facing. This might help you.
https://answers.splunk.com/answers/318096/why-am-i-getting-loadjob-error-cannot-find-artifac.html

0 Karma

jip31
Motivator

thanks nikita!

0 Karma

niketn
Legend

@jip31 if your issue is resolved, please accept the answer to mark this question as resolved!

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...