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!

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