Other Usage

Cannot find artifacts for savedsearch_ident...

dm1
Contributor

There is a dashboard which uses a scheduled search using the |loadjob command. 

I recently changed the search query for that scheduled search, which was basically added a index = indexname stanza to it to make it a little more efficient. 

However, after doing that, the dashboard started showing the below error

Cannot find artifacts for savedsearch_ident...

When I click on the "View Recent" option of the saved search, it still loads the results.

Any ideas? 

Labels (2)
Tags (1)
0 Karma
1 Solution

dm1
Contributor

I had a look through those posts but unfortunately, scenarios mentioned in those were not relevant to me.

To figure out the cause of this issue, I created a test scheduled search (SS) with almost same configuration (sourcetype=sample | stats count) as the one in question and ran it on a smaller schedule.

After the 1st run of SS,  loadjob command worked.

Before the 2nd SS run, I changed the search query to add the index= stanza. This time I again manually ran the loadjob command and it gave the same error as I got above. That confirmed in my case the error was more due to the fact that I changed the search query. After 2nd scheduled run (after query modification was made), loadjob command worked perfectly.

View solution in original post

0 Karma

dm1
Contributor

I had a look through those posts but unfortunately, scenarios mentioned in those were not relevant to me.

To figure out the cause of this issue, I created a test scheduled search (SS) with almost same configuration (sourcetype=sample | stats count) as the one in question and ran it on a smaller schedule.

After the 1st run of SS,  loadjob command worked.

Before the 2nd SS run, I changed the search query to add the index= stanza. This time I again manually ran the loadjob command and it gave the same error as I got above. That confirmed in my case the error was more due to the fact that I changed the search query. After 2nd scheduled run (after query modification was made), loadjob command worked perfectly.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...