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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...