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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...