Dashboards & Visualizations

How to reference a scheduled report for a base search

byu168168
Path Finder

Hi,

I am trying to create a base search for my post process searches that references a scheduled report. From looking around I found that you use the following

<search id="baseSearch" ref="Scheduled_Report>
    <query></query>
  </search>

However, when I edit the XML it gives the following validation warning "Unknown attribute "ref" for node "search"". Was this feature deprecated in newer versions of Splunk or is it an error on my end? Are there any other ways to reference a scheduled report?

1 Solution

byu168168
Path Finder

Yeah, that was a typo on my part. I managed to get it working though, for some reason once I removed the
<query></query> line the warning disappears and it appears to work fine. Thanks for the help though!

View solution in original post

byu168168
Path Finder

Yeah, that was a typo on my part. I managed to get it working though, for some reason once I removed the
<query></query> line the warning disappears and it appears to work fine. Thanks for the help though!

somesoni2
Revered Legend

Glad thing worked out for you. Please accept this as solution for other reader's reference.

0 Karma

somesoni2
Revered Legend

What version of Splunk are you using? Is the 'Scheduled_Report' available in the same app as your dashboard?

0 Karma

byu168168
Path Finder

Splunk 6.5. Yes, the report is available in the same app

0 Karma

somesoni2
Revered Legend

Well it does work in 6.5.0. Upon seeing your xml code in the question, you're missing a double quote, is that a typo here?

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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...