<?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: How to drill down from custom result value? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420933#M27733</link>
    <description>&lt;P&gt;Reference to &lt;A href="https://splunkbase.splunk.com/app/3119/"&gt;Status Indicator Custom Visualization&lt;/A&gt; on Splunkbase. Drilldown still would need to be coded on above approach.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Apr 2019 13:03:19 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-04-21T13:03:19Z</dc:date>
    <item>
      <title>How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420931#M27731</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I created a Dashboard with status indicator, now i need to drill down on the icon.&lt;/P&gt;

&lt;P&gt;The icon will be green and red depends on the value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="4TXC18-087AB" | rangemap field=Status low=0-0 severe=1-10| table FixtureID Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_1"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
      &amp;lt;set token="M12A_11"&amp;gt;$result.FixtureID$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
&amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;N3A&amp;lt;/title&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div id="icon"&amp;gt;
          &amp;lt;div class="custom-result-value $N3A_1$" style="display: inline-block;padding:0px;margin:0px"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $N3A_2$" style="display: inline-block;padding:0px;margin:0px"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $N3A_3$" style="display: inline-block;padding:0px;margin:0px"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $N3A_4$" style="display: inline-block;padding:0px;margin:0px"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $N3A_5$" style="display: inline-block;padding:0px;margin:0px"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $N3A_6$" style="display: inline-block;padding:0px;margin:0px"&amp;gt; &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 07:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420931#M27731</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2019-04-21T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420932#M27732</link>
      <description>&lt;P&gt;@SathyaNarayanan first off you should check out Status Indicator custom visualization which does task similar to your use case and also supports Trellis to split the visualization. However, since event Status Indicator needs custom drilldown to be coded using SimpleXML JS extension, I will try to add a run anywhere example for drilldown from status results. (While some of code you have posted does not make complete sense to me I have tried to create something on similar lines).&lt;/P&gt;

&lt;P&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/6923iEE90BC44FB6786BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Following is the run anywhere Simple XML code. I have added ids to div sections with results like &lt;CODE&gt;id="custom-result-1"&lt;/CODE&gt; etc:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard script="status_click_handler.js"&amp;gt;
  &amp;lt;label&amp;gt;Custom Results with drilldown&amp;lt;/label&amp;gt;
  &amp;lt;search id="search1"&amp;gt;
    &amp;lt;query&amp;gt;
      | makeresults
      | eval value=random()
      | eval value=(value%3)
      | rangemap field=value low=0-0 elevated=1-1 severe=2-2 default=low
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_11"&amp;gt;$result.value$&amp;lt;/set&amp;gt;
      &amp;lt;set token="N3A_1"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
    &amp;lt;earliest&amp;gt;-1s&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;0&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search id="search2"&amp;gt;
    &amp;lt;query&amp;gt;
      | makeresults
      | eval value=random()
      | eval value=(value%3)
      | rangemap field=value low=0-0 elevated=1-1 severe=2-2 default=low
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_12"&amp;gt;$result.value$&amp;lt;/set&amp;gt;
      &amp;lt;set token="N3A_2"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
    &amp;lt;earliest&amp;gt;-1s&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;0&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search id="search3"&amp;gt;
    &amp;lt;query&amp;gt;
      | makeresults
      | eval value=random()
      | eval value=(value%3)
      | rangemap field=value low=0-0 elevated=1-1 severe=2-2 default=low
    &amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_13"&amp;gt;$result.value$&amp;lt;/set&amp;gt;
      &amp;lt;set token="N3A_3"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
    &amp;lt;earliest&amp;gt;-1s&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;0&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
       &amp;lt;html&amp;gt;
         &amp;lt;style&amp;gt;
          .custom-result-value {
              font-size: 55px;
              margin: 35px auto;
              text-align: center;
              font-weight: bold;
              color: rgb(85, 85, 85);
          }
          .custom-result-value:before {
              font-family: "Splunk Icons";
              font-style: normal;
              font-weight: normal;
              text-decoration: inherit;
              font-size: 110%;
          }
          .custom-result-value:hover{
              background: #eee;
          }
          .severe.custom-result-value:before {
              content: "\2297";
          }
          .severe.custom-result-value {
              color: rgb(217, 63, 60);
          }
          .high.custom-result-value {
              color: rgb(245, 143, 57);
          }
          .high.custom-result-value:before {
              content: "\ECD4";
          }
          .elevated.custom-result-value {
              color: rgb(247, 188, 56);
          }
          .elevated.custom-result-value:before {
              content: "\26A0";
          }
          .low.custom-result-value {
              color: rgb(101, 166, 55);
          }
          .low.custom-result-value:before {
              content: "\ECD3";
          }
          .guarded.custom-result-value {
              color: rgb(109, 183, 198);
          }
          .guarded.custom-result-value:before {
              content: "\0049";
          }
          .custom-result-value.icon-only {
              font-size: 90px;
          }
         &amp;lt;/style&amp;gt;
         &amp;lt;div id="icon" style="height:100px;padding-top:20px;"&amp;gt;
           &amp;lt;div id="custom-result-1" class="custom-result-value $N3A_1$" style="display:inline-block;padding:20px;margin:0px;cursor:pointer"&amp;gt; $M12A_11$ &amp;lt;/div&amp;gt;
           &amp;lt;div id="custom-result-2" class="custom-result-value $N3A_2$" style="display:inline-block;padding:20px;margin:0px;cursor:pointer"&amp;gt; $M12A_12$ &amp;lt;/div&amp;gt;
           &amp;lt;div id="custom-result-3" class="custom-result-value $N3A_3$" style="display:inline-block;padding:20px;margin:0px;cursor:pointer"&amp;gt; $M12A_13$ &amp;lt;/div&amp;gt;
         &amp;lt;/div&amp;gt;
         &amp;lt;div&amp;gt;
           Clicked Value: $tokClickedValue$
         &amp;lt;/div&amp;gt;
       &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Following is the required JavaScript &lt;CODE&gt;status_click_handler.js&lt;/CODE&gt;, which handles click on div with ids like &lt;CODE&gt;custom-result&lt;/CODE&gt; and assign the clicked value to a token &lt;CODE&gt;tokClickedValue&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require(
    [
        'jquery',
        'splunkjs/mvc'
    ],
    function ($, mvc) {
        var unsubmittedTokenModel=mvc.Components.get("default");
        $(document).on('click','div[id^="custom-result-"]',function () {
            unsubmittedTokenModel.set("tokClickedValue",$(this).html());
        });
    });
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 21 Apr 2019 12:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420932#M27732</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-21T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420933#M27733</link>
      <description>&lt;P&gt;Reference to &lt;A href="https://splunkbase.splunk.com/app/3119/"&gt;Status Indicator Custom Visualization&lt;/A&gt; on Splunkbase. Drilldown still would need to be coded on above approach.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 13:03:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420933#M27733</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-21T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420934#M27734</link>
      <description>&lt;P&gt;Hi @niketnilay &lt;/P&gt;

&lt;P&gt;Below is the complete code.&lt;/P&gt;

&lt;P&gt;Am trying to show the status of each light, So the colour will change to green and red per the range map.&lt;/P&gt;

&lt;P&gt;Now i need to click the icon to drill down to which light went down.&lt;/P&gt;

&lt;P&gt;I created a Panel and need to pass tok_id to get the results.&lt;/P&gt;

&lt;P&gt;Hope now am clear in my requirements.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;AGLCMS v3&amp;lt;/label&amp;gt;
  &amp;lt;search id="taxi"&amp;gt;
    &amp;lt;query&amp;gt; | inputlookup RETIL_lookup  
            | dedup FixtureID 
            | join type=left FixtureID 
                [ search index=main host="DC2VPLSPSH4" source="AGLCMS.csv" 
                | rename "Field 1" as "FixtureID" 
                | rename "Field 2" as Name 
                | table "FixtureID" "Name"] 
            | eval Status=if(isnull(Name), "0","1") 
      &amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="4TXC18-087AB" | rangemap field=Status low=0-0 severe=1-10| table FixtureID Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_1"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
      &amp;lt;set token="M12A_11"&amp;gt;$result.FixtureID$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="4TXC18-085AB" | rangemap field=Status low=0-0 severe=1-10 | table Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_2"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="4TXC18-086AB" | rangemap field=Status low=0-0 severe=1-10 | table Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_3"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="3TXC17-086AB" | rangemap field=Status low=0-0 severe=1-10 | table Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_4"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="3TXC17-087AB" | rangemap field=Status low=0-0 severe=1-10 | table Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_5"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="taxi"&amp;gt;
    &amp;lt;query&amp;gt;| search FixtureID="3TXC17-088AB" | rangemap field=Status low=0-0 severe=1-10 | table Status range&amp;lt;/query&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;set token="M12A_6"&amp;gt;$result.range$&amp;lt;/set&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;row depends="$hide$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
          &amp;lt;style&amp;gt;
            .custom-result-value {
                font-size: 35px;
                margin: 35px auto;
                text-align: center;
                color: rgb(85, 85, 85);
                display: inline-block;
                padding:0px;
                margin:0px;
            }
            .severe.custom-result-value:before {
                content: "\25cf";
            }
            .severe.custom-result-value {
                color: rgb(255, 0, 0);
            }
            .low.custom-result-value {
                color: rgb(0, 247, 0);
            }
            .low.custom-result-value:before {
                content: "\25cf";
            }
            .custom-result-value.icon-only {
            }
            .view---pages-enterprise---6-6-3---14_Tp{color:#fbca25;}

            .dashboard-row .dashboard-panel h2.panel-title {
              font-size: 25px;
              font-weight: 600;
              padding: 12px 20px 7px 12px;
              text-align: center;
            }
            .dashboard-header h2 {
              font-weight: bold;
            }

            .dashboard-panel {
              border: 1px solid black;
              border-radius: 6px;
            }
            .dashboard-body {
                padding: 0 20px 20px;
                color: #2f2c59;
                background-color: #aea8bd;
                min-height: 150px;
            }
            .highcharts-container {
                border-radius: 6px;
            }
            .panel-head {
                  border-top-left-radius: 6px;
                  border-top-right-radius: 6px;
            }

            .dashboard-header h2 {
              font-weight: bold;
            }

            #icon {
            text-align:center;
            }

          &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;M12A&amp;lt;/title&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div id="icon"&amp;gt;
          &amp;lt;div class="custom-result-value $M12A_1$"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $M12A_2$"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $M12A_3$"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $M12A_4$"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $M12A_5$"&amp;gt; &amp;lt;/div&amp;gt;
          &amp;lt;div class="custom-result-value $M12A_6$"&amp;gt; &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;

  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$tok_id$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Detail&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=main source="LampFailures.csv" host="DC2VPLSPSH4" 
| rename "Fixture ID" as FixtureID 
| table Timestamp FixtureID "MH No" "Fitting Type" Color "Lamp Power" Location Remarks 
| join FixtureID 
    [| inputlookup RETIL_lookup 
    | fields - "X-Position" "Y-Position" Description] 
| sort - Timestamp
| search FixtureID="$tok_id$"&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;html&amp;gt;
      &amp;lt;script&amp;gt;
            require(
     [
         'jquery',
         'splunkjs/mvc'
     ],
     function ($, mvc) {
         var unsubmittedTokenModel=mvc.Components.get("default");
         $(document).on('click','div[id^="custom-result-"]',function () {
             unsubmittedTokenModel.set("tokClickedValue",$(this).html());
         });
     });

      &amp;lt;/script&amp;gt;  
    &amp;lt;/html&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;I have added the image for sample&lt;BR /&gt;
&lt;IMG src="http://tinypic.com/r/w1crgp/9" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 06:36:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420934#M27734</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2019-04-22T06:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420935#M27735</link>
      <description>&lt;P&gt;As shown in my example you would need to give unique ids to each of your html div sections from where you need to drilldown.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;       &amp;lt;div  id="custom-result_M12A-1" class="custom-result-value $M12A_1$"&amp;gt; &amp;lt;/div&amp;gt;
       &amp;lt;div id="custom-result_M12A-2" class="custom-result-value $M12A_2$"&amp;gt; &amp;lt;/div&amp;gt;
       &amp;lt;div id="custom-result_M12A-3" class="custom-result-value $M12A_3$"&amp;gt; &amp;lt;/div&amp;gt;
       &amp;lt;div id="custom-result_M12A-4" class="custom-result-value $M12A_4$"&amp;gt; &amp;lt;/div&amp;gt;
       &amp;lt;div id="custom-result_M12A-5" class="custom-result-value $M12A_5$"&amp;gt; &amp;lt;/div&amp;gt;
       &amp;lt;div id="custom-result_M12A-6" class="custom-result-value $M12A_6$"&amp;gt; &amp;lt;/div&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then your JS code will change slightly as you are showing only icon and no value along with icon (in my previous example I was using value for drilldown). In this code below id of the html panel div is split to get clicked html drilldown value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     $(document).on('click','div[id^="custom-result_"]',function () {
         var strID=($(this).attr('id'));
         var arrClickedName = strID.split("_",2);
         unsubmittedTokenModel.set("tokClickedValue",arrClickedName[1]);
     });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and confirm!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:39:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420935#M27735</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-23T18:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420936#M27736</link>
      <description>&lt;P&gt;@niketnilay &lt;/P&gt;

&lt;P&gt;Wow Niketnilay, its working fine. Thanks.&lt;/P&gt;

&lt;P&gt;I want to create drilldown panel for it.&lt;/P&gt;

&lt;P&gt;The value is getting passed but why the depends, is not working.&lt;/P&gt;

&lt;P&gt;Below is the xml for the drill down&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row depends="$tokClickedValue$" &amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Detail&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=main source="LampFailures.csv" host="DC2VPLSPSH4" 
| rename "Fixture ID" as FixtureID 
| table Timestamp FixtureID "MH No" "Fitting Type" Color "Lamp Power" Location Remarks 
| join FixtureID 
    [| inputlookup RETIL_lookup 
    | fields - "X-Position" "Y-Position" Description] 
| sort - Timestamp
| search FixtureID="$tokClickedValue$"&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Apr 2019 04:24:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420936#M27736</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2019-04-24T04:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420937#M27737</link>
      <description>&lt;P&gt;Besides, creating &lt;CODE&gt;unsubmittedTokenModel&lt;/CODE&gt; also create &lt;CODE&gt;submittedTokenModel&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; var submittedTokenModel=mvc.Components.get("submitted");
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then update &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; submittedTokenModel.set("tokClickedValue",arrClickedName[1]);
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try and confirm, whether it worked. Also if it does not then update the details as to what is not working with depends. Is the row visible and hidden not working as expected or is the query not running as expected and is waiting for input? Or both issues?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 07:02:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420937#M27737</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-24T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420938#M27738</link>
      <description>&lt;P&gt;Hi @SathyaNarayanan &lt;/P&gt;

&lt;P&gt;Were you able to test out @niketnilay solution? Did it work? If yes, please don't forget to resolve this post by clicking on "Accept". If you still need more help, please provide a comment with some feedback. &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 15:17:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420938#M27738</guid>
      <dc:creator>Anam</dc:creator>
      <dc:date>2019-04-24T15:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from custom result value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420939#M27739</link>
      <description>&lt;P&gt;@niketnilay &lt;/P&gt;

&lt;P&gt;It works perfectly as expected.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 07:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-custom-result-value/m-p/420939#M27739</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2019-04-25T07:57:59Z</dc:date>
    </item>
  </channel>
</rss>

