Dashboards & Visualizations

Share data betwen views

sarumjanuch
Path Finder

I have 5 views and each of them have date picker, is there any way to share date picker between all views, so when i navigate from one to other, time remain as i selected.

Tags (2)
0 Karma

royimad
Builder

Try to use ValueSetter module to drilldown to other views, hope that this will help you.

 <module name="TimeRangePicker" layoutPanel="panel_row1_col1" autoRun="True">
            <param name="searchWhenChanged">True</param>
            <param name="selected">Last 30 days</param>  


    <module name="ValueSetter">
        <param name="name">stashedEarliest</param>
        <param name="value">$search.timeRange.earliest$</param>
        <module name="ValueSetter">
          <param name="name">stashedLatest</param>
          <param name="value">$search.timeRange.latest$</param>

         <!-- ... now anywhere downstream from here you can use `$stashedEarliest$` and `$stashedLatest$`.
    Thus $stashedEarliest$ and $stashedLatest$, downstream from that point, will always represent the time arguments as they came out of TimeRangePicker. 
           -->

    <!--  EXAMPLE BEGIN  -->
    <module name="Search" layoutPanel="panel_row1_col1" autoRun="True">
    <param name="search">
    |...........................
    <param name="earliest">$stashedEarliest$</param>
        <param name="latest">$stashedLatest$</param>
0 Karma

sarumjanuch
Path Finder

Hmm the problem is that i use simple XML..

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...