<?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 Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help. in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316446#M4348</link>
    <description>&lt;P&gt;More details on your requirement please.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 16:44:09 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-02-23T16:44:09Z</dc:date>
    <item>
      <title>dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316445#M4347</link>
      <description>&lt;P&gt;Sample&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;Deals&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=_* OR index=* sourcetype=st_sample | stats count(Equipment_type) as Deals_Count  by Equipment_type&amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
    &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
    &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
    &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
    &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
    &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="Equipment_type"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;By State&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=_* OR index=* sourcetype=st_sample  Equipment_type="$Equipment_type$" | stats count(Equipment_type) as Deals_Count  by State &amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;bar&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="State"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;By Region&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=_* OR index=* sourcetype=st_sample Equipment_type="$Equipment_type$"  State="$State$"   |  stats count(Equipment_type) as Deals_Count  by Region   &amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;bar&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="Region"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;By Make&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=_* OR index=* sourcetype=st_sample State="$State$" AND Region="$Region$" | stats count(Equipment_type) as Deals_Count  by Make&amp;lt;/query&amp;gt;

    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;bar&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="Make"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:13:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316445#M4347</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-02-23T16:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316446#M4348</link>
      <description>&lt;P&gt;More details on your requirement please.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:44:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316446#M4348</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-23T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316447#M4349</link>
      <description>&lt;P&gt;Once i click on the Equipment Type, i need to see the State details, after clicking State i need to see the Region details and i can do back and forth&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2520i45DCF41A63401D42/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316447#M4349</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-02-23T16:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316448#M4350</link>
      <description>&lt;P&gt;You can use depends attributes for the panels which you want to display based on previous token being set.&lt;/P&gt;

&lt;P&gt;For example in you &lt;STRONG&gt;Deals&lt;/STRONG&gt; Panel with table you can define the following&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;set token="Equipment_type"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
  &amp;lt;unset token="State"&amp;gt;&amp;lt;/unset&amp;gt;
  &amp;lt;unset token="Region"&amp;gt;&amp;lt;/unset&amp;gt;
  &amp;lt;unset token="Make"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In &lt;STRONG&gt;By State&lt;/STRONG&gt; Panel, you can define depends on  Equipment_type&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;chart depends="$Equipment_type$"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and for the drilldown&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;drilldown&amp;gt;
     &amp;lt;set token="State"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
     &amp;lt;unset token="Region"&amp;gt;&amp;lt;/unset&amp;gt;
     &amp;lt;unset token="Make"&amp;gt;&amp;lt;/unset&amp;gt;
   &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the &lt;STRONG&gt;By Region&lt;/STRONG&gt; panel you can then define depends for both Equipment and State&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;chart depends="$Equipment_type$,$State$"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and for drilldown something like the following...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;drilldown&amp;gt;
     &amp;lt;set token="Region"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
     &amp;lt;unset token="Make"&amp;gt;&amp;lt;/unset&amp;gt;
   &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Similar to the example above, you can extend for &lt;STRONG&gt;By Make&lt;/STRONG&gt; panel as well.&lt;/P&gt;

&lt;P&gt;Please explain the behavior of vice-versa scenario. &lt;/P&gt;

&lt;P&gt;For details on depends and rejects attributes to hide/display a panel refer to the following documentation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens&lt;/A&gt;&lt;BR /&gt;
Also refer to &lt;STRONG&gt;Null Search Swapper&lt;/STRONG&gt; Example in &lt;STRONG&gt;Splunk 6.x Dashboard Examples&lt;/STRONG&gt; App.&lt;/P&gt;

&lt;P&gt;On a different note, see if you can use exact index names in your query instead of wildcard for all indexes also a feasibility of using &lt;STRONG&gt;Post Processing&lt;/STRONG&gt; for performance improvement instead of re-running Stats filters down the line on each cascaded selections.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 17:10:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316448#M4350</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-25T17:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316449#M4351</link>
      <description>&lt;P&gt;Appreciate your valuable inputs. I will try and let you know the update.  For Vice versa, drill up like for suppose if we click on any value on Make, automatically the drill ups should happen,it should select particular region , particular state. Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 18:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316449#M4351</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-02-25T18:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316450#M4352</link>
      <description>&lt;P&gt;Niketnilay, You are genius . I applied the functionality which you have mentioned.  Appreciate your smart work  and experiences. I will follow you . Gr8.....:)&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 18:56:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316450#M4352</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-02-25T18:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316451#M4353</link>
      <description>&lt;P&gt;If your problem is resolved, please accept the answer.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 19:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316451#M4353</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-02-25T19:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316452#M4354</link>
      <description>&lt;P&gt;Niketnilay, i need one more help. For suppose if I click on deals Car, the car details table should show , if I click on car and state, the combination of car and state details should be displayed and so on. Can you pls help. Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 19:47:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316452#M4354</guid>
      <dc:creator>splunklakshman</dc:creator>
      <dc:date>2017-02-25T19:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316453#M4355</link>
      <description>&lt;P&gt;@splunklakshman...Vice Versa might not be possible in your scenario...since you are populating contents based on selection in parent panel... but you can unset child tokens when parent selection is changed. I already had a sample of the same.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 07:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316453#M4355</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-26T07:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316454#M4356</link>
      <description>&lt;P&gt;@splunklakshman... Thanks for your kind words... There are so many highly experienced Splunkers in the community always willing to help. I am still a newbie on Splunk Answers and a learner. I would recommend you to follow Splunk Answers itself ...you will be amazed at what Splunk can do and with multiple solutions to the same problems how many small tips, tricks and tweaks can really lead up to optimal solutions.&lt;/P&gt;

&lt;P&gt;Keep learning and keep contributing.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 07:15:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316454#M4356</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-26T07:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically refresh the data based on the hierarchical drill downs and vice versa. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316455#M4357</link>
      <description>&lt;P&gt;@splunklakshman I would request you to post a new questions in future for separate questions.... However, if you have downloaded the &lt;STRONG&gt;Splunk 6.x Dashboard Examples&lt;/STRONG&gt; app, you can check out &lt;STRONG&gt;Table Row Expansion (More Details)&lt;/STRONG&gt; example. This involves Javascript extension to Simple XML which may require you to restart Splunk and also clear browser history for changes to reflect. Please check out and see if it suits your needs.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 07:20:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/dynamically-refresh-the-data-based-on-the-hierarchical-drill/m-p/316455#M4357</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-26T07:20:34Z</dc:date>
    </item>
  </channel>
</rss>

