Dashboards & Visualizations

scheduled reports in dashboards

nikhilnsr1998
Explorer

While creating a dashboard i used scheduled reports to present visuals.

The problem is, the reports have overlapping queries as they the dashboard was  originally implemented with base searches.

How can I use scheduled reports as base searches?

or,

How can i use data from the same scheduled report and create different visuals in the same Dashboard?

Thanks and Regards.

Labels (1)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Yes, you can use reports as base searches like this

<search id="base_name" ref="report_name"/></search>
...
<search base="base_name">
...

See the docs here

https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/PanelreferenceforSimplifiedXML#search

 

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

Yes, you can use reports as base searches like this

<search id="base_name" ref="report_name"/></search>
...
<search base="base_name">
...

See the docs here

https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/PanelreferenceforSimplifiedXML#search

 

codebuilder
Influencer

You can use either "base" or "loadjob" to pull search results into your dashboard. The loadjob call works really well with the caveat that if the saved search has not executed successfully you wont get results.

There is a good discussion on this topic with examples here:
https://community.splunk.com/t5/Reporting/Using-a-Scheduled-Saved-Search-as-a-base-search-in-dashboa...

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...