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!

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