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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...