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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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 ...