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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...