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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...