<?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: Drill down using multiple conditions in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185864#M53551</link>
    <description>&lt;P&gt;That's not going to work, the &lt;CODE&gt;value&lt;/CODE&gt; attribute is only valid in the input context of the &lt;CODE&gt;condition&lt;/CODE&gt; element, not in the drilldown context: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#condition_.28drilldown.29"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#condition_.28drilldown.29&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The only thing you can condition on here is the field name that was clicked, which in a pie is always the same field.&lt;/P&gt;

&lt;P&gt;A possible workaround would be to have a small script on some web server that gets passed the clicked value in a parameter and then redirects to the appropriate URL.&lt;BR /&gt;
Another possibility would be to add a custom JS event handler that suppresses the default drilldown and instead does its own logic.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jan 2015 22:54:58 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2015-01-17T22:54:58Z</dc:date>
    <item>
      <title>Drill down using multiple conditions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185863#M53550</link>
      <description>&lt;P&gt;I have a pie chart with multiple slices, clicking on each slice will take you to Custom URL, please see the simple xml below:&lt;BR /&gt;
Unfortunately it takes me to the same URL which is at the top,again and again. I even tried keeping this condition in one drilldown but still it did not work. Please help..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;condition value="Media Content (Bytes)"&amp;gt;
        &amp;lt;link&amp;gt;URL1&amp;lt;/link&amp;gt;
        &amp;lt;/condition&amp;gt;          
    &amp;lt;/drilldown&amp;gt; 
    &amp;lt;drilldown&amp;gt;
      &amp;lt;condition value="Text Content (Bytes)"&amp;gt;
             &amp;lt;link&amp;gt;URL2&amp;lt;/link&amp;gt;    
       &amp;lt;/condition&amp;gt;
    &amp;lt;/drilldown&amp;gt;   
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Jan 2015 00:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185863#M53550</guid>
      <dc:creator>kallisrayar1986</dc:creator>
      <dc:date>2015-01-17T00:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down using multiple conditions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185864#M53551</link>
      <description>&lt;P&gt;That's not going to work, the &lt;CODE&gt;value&lt;/CODE&gt; attribute is only valid in the input context of the &lt;CODE&gt;condition&lt;/CODE&gt; element, not in the drilldown context: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#condition_.28drilldown.29"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#condition_.28drilldown.29&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The only thing you can condition on here is the field name that was clicked, which in a pie is always the same field.&lt;/P&gt;

&lt;P&gt;A possible workaround would be to have a small script on some web server that gets passed the clicked value in a parameter and then redirects to the appropriate URL.&lt;BR /&gt;
Another possibility would be to add a custom JS event handler that suppresses the default drilldown and instead does its own logic.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jan 2015 22:54:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185864#M53551</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-01-17T22:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down using multiple conditions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185865#M53552</link>
      <description>&lt;P&gt;Could you please share some samples for Custome JS event for this scenario, if any?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 21:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185865#M53552</guid>
      <dc:creator>kallisrayar1986</dc:creator>
      <dc:date>2015-01-20T21:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down using multiple conditions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185866#M53553</link>
      <description>&lt;P&gt;There are plenty of custom JS examples here: &lt;A href="https://apps.splunk.com/app/1603/"&gt;https://apps.splunk.com/app/1603/&lt;/A&gt; Not sure if they go far enough though.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:00:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-using-multiple-conditions/m-p/185866#M53553</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-01-20T22:00:47Z</dc:date>
    </item>
  </channel>
</rss>

