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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...