<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Passing time parameters from drilldown on click to dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340238#M22119</link>
    <description>&lt;P&gt;I have 2 diff views/dashboards with respective time tokens in each.  I've setup the drilldown onclick to "Link To Dashboard" and I'm looking to pass the source.time_token Earliest and Latest to the target destination time_token such that destination time_token default value of 60min is overridden and the destination page loads with the source time parameters&lt;/P&gt;

&lt;P&gt;Notes: &lt;BR /&gt;
- both respective time tokens (source and destination) are set as 60min defaults&lt;BR /&gt;
- I would really like to use the Drilldown Editor GUI, so I would like to know what to enter into the Parameters section&lt;BR /&gt;
- I've tried;&lt;/P&gt;

&lt;P&gt;form.sourceTimeToken = form.destTimeToken&lt;BR /&gt;
earliest = $earliest $&lt;BR /&gt;
latest = $latest $&lt;/P&gt;

&lt;P&gt;but the destination time token default of 60min over rides the above params in the query string &lt;/P&gt;

&lt;P&gt;On the destination page, the input is setup as follows and i do not have any special instruction on what to do on page load;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="time" searchWhenChanged="true" token="Time_Dest"&amp;gt;
  &amp;lt;label&amp;gt;Some Time Picker&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;
    &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;side complaint: I've read all the Splunk docs but there are very few examples on how to use the provided GUIs....only XML code edit examples&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:32:05 GMT</pubDate>
    <dc:creator>eddychuah</dc:creator>
    <dc:date>2020-09-29T16:32:05Z</dc:date>
    <item>
      <title>Passing time parameters from drilldown on click to dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340238#M22119</link>
      <description>&lt;P&gt;I have 2 diff views/dashboards with respective time tokens in each.  I've setup the drilldown onclick to "Link To Dashboard" and I'm looking to pass the source.time_token Earliest and Latest to the target destination time_token such that destination time_token default value of 60min is overridden and the destination page loads with the source time parameters&lt;/P&gt;

&lt;P&gt;Notes: &lt;BR /&gt;
- both respective time tokens (source and destination) are set as 60min defaults&lt;BR /&gt;
- I would really like to use the Drilldown Editor GUI, so I would like to know what to enter into the Parameters section&lt;BR /&gt;
- I've tried;&lt;/P&gt;

&lt;P&gt;form.sourceTimeToken = form.destTimeToken&lt;BR /&gt;
earliest = $earliest $&lt;BR /&gt;
latest = $latest $&lt;/P&gt;

&lt;P&gt;but the destination time token default of 60min over rides the above params in the query string &lt;/P&gt;

&lt;P&gt;On the destination page, the input is setup as follows and i do not have any special instruction on what to do on page load;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="time" searchWhenChanged="true" token="Time_Dest"&amp;gt;
  &amp;lt;label&amp;gt;Some Time Picker&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;
    &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;side complaint: I've read all the Splunk docs but there are very few examples on how to use the provided GUIs....only XML code edit examples&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:32:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340238#M22119</guid>
      <dc:creator>eddychuah</dc:creator>
      <dc:date>2020-09-29T16:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Passing time parameters from drilldown on click to dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340239#M22120</link>
      <description>&lt;P&gt;Can't help you with dealing with the drilldown GUI (I hate it too).&lt;/P&gt;

&lt;P&gt;Can you share the XML for the source panel? That would really help clarify how you are doing the drilldown.  &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340239#M22120</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-10-31T19:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Passing time parameters from drilldown on click to dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340240#M22121</link>
      <description>&lt;P&gt;@eddychuah, can you add more details on which visualization are you using for drilldown? Is it table or chart?&lt;BR /&gt;
Also can you share the simple xml of the link you have created?&lt;/P&gt;

&lt;P&gt;Have you looked at Splunk Dashboard Examples app which covers alot of drilldown examples?&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;&lt;BR /&gt;
And this is step by step for Drilldown using the UI (interactively) : &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/DrilldownIntro"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/DrilldownIntro&lt;/A&gt; (however, UI Drilldown option is available from Splunk Enterprise 6.6 onward)&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340240#M22121</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-31T19:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Passing time parameters from drilldown on click to dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340241#M22122</link>
      <description>&lt;P&gt;thanks @rjthibod and @niketnilay&lt;/P&gt;

&lt;P&gt;figured out my own query (issue was between the keyboard and the chair lol), i was not setting the destination params with the proper token symbols $$&lt;/P&gt;

&lt;P&gt;solution as follows;&lt;BR /&gt;
on click - link to dashboard&lt;BR /&gt;
App - select desired splunk app&lt;BR /&gt;
Dashboard - select desired app dashboard&lt;/P&gt;

&lt;P&gt;Parameters &lt;/P&gt;

&lt;P&gt;form.destinationtimetokenname.earliest = $earliest$&lt;BR /&gt;
form.destinationtimetokenname.latest= $latest$&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 20:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340241#M22122</guid>
      <dc:creator>eddychuah</dc:creator>
      <dc:date>2017-10-31T20:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passing time parameters from drilldown on click to dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340242#M22123</link>
      <description>&lt;P&gt;Hi, Are you able to post the final xml for the drilldown?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 00:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Passing-time-parameters-from-drilldown-on-click-to-dashboard/m-p/340242#M22123</guid>
      <dc:creator>markhill1</dc:creator>
      <dc:date>2018-09-12T00:49:53Z</dc:date>
    </item>
  </channel>
</rss>

