Dashboards & Visualizations

Can realtime search report can be saved?

nickcode
Explorer

I created a dashboard including a realtime timechart.


My real time search

  <module name="HiddenSearch" autoRun="True">
    <param name="search">index="foo" sourcetype="foo" | timechart  span=5m count as PV</param>
    <param name="earliest">rt-24h</param>
    <param name="latest">rt</param>

      <module name="EnablePreview">
        <param name="enable">true</param>
        <param name="display">false</param>

          <module name="HiddenChartFormatter">
            <param name="chart">line</param>
            <param name="primaryAxisTitle.text">Time</param>
            <param name="chart.stackMode">default</param>
            <param name="secondaryAxisTitle.text">Count</param>

              <module name="FlashChart">
                <param name="width">100%</param>
                <param name="height">250px</param>
              </module>

              <module name="ViewRedirectorLink">
                <param name="viewTarget">flashtimeline</param>
                <param name="label">View results</param>
              </module>

           </module>
        </module>
  </module>

Because the data crosses 24h and is big, every time I open the dashboard, the chart will reload completely. That will take a long long long time to finish.
My question is whether the realtime search result can be saved so that I can view the report immediately if I open the dashboard?

martin_mueller
SplunkTrust
SplunkTrust

You can schedule the realtime search, then you will be attached to that job when you open the dashboard and get the current resultset immediately. For that you need to save the search instead of specifying it inline in the view.

0 Karma

nickcode
Explorer

But if i use the scheduled search result in my dashboard, i could not see the realtime incoming results on the chart...

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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