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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...