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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...