Splunk Search

Single TimeRangePicker powers more HiddenSearches

rantravee
Path Finder

Hi,

As the title mentions I would like to know if it is possible to have a single timerange picker to control some other hiddensearches . Whenever the timerange value would change that would trigger all the hidden searches to start

At the moment I have something like this :

<module name="TimeRangePicker">     

    <module name="HiddenSearch" layoutPanel="panel_row1_col1" group="Applications" autoRun="True">
        <param name="search"> .... </param>

       <module name="HiddenChartFormatter">
         ........
       </module> <!-- HiddenChartFormatter --
    </module>


    <module name="HiddenSearch" layoutPanel="panel_row1_col2" group="Dynamic Apps" autoRun="True">
        <param name="search">...</param>    
        <module name="HiddenChartFormatter">
           <param name="chart">pie</param>
            .........
             </module> <!-- HiddenChartFormatter -->
    </module>
</module>

Thanks

0 Karma
1 Solution

linu1988
Champion

Hello,
It is possible.

Start the "Timerangepicker" module and end after the last "Hiddensearches" module is over.
Don't mention any earliest or latest parameters in search or in for the modules.

Thanks

View solution in original post

0 Karma

linu1988
Champion

Hello,
It is possible.

Start the "Timerangepicker" module and end after the last "Hiddensearches" module is over.
Don't mention any earliest or latest parameters in search or in for the modules.

Thanks

0 Karma

sideview
SplunkTrust
SplunkTrust

and you only want one autoRun="True" attribute in the view, and it should be at the top on the TimeRangePicker, not on the Search modules. If you download the latest Sideview Utils from http://sideviewapps.com/apps/sideview-utils , aside from all the other stuff in there, it has a great docs page called "overview of the advanced xml" that is definitely worth reading.

rantravee
Path Finder

it also needs to have specified the layoutPanel

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...