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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...