<?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 can I drill down from one panel (pie chart) to another panel in the same dashboard,  passing a variable from the chart? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151311#M9215</link>
    <description>&lt;P&gt;What you are looking for is demonstrated in the "contextual Drilldown" example in the &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk 6.x Dashboard examples App&lt;/A&gt;&lt;BR /&gt;
To find the example install the app, and then select it. Click on the Examples Menu and then choose "Drilldown Examples"  The one you want is towards the bottom. "Contextual Drilldown"  When you view it, the title is: "In-Page Drilldown with Perma-linking"  For further detail you can look at the example just left of Contextual Drilldown called "Dynamic Drilldown". The first, shows how you create two panes. One is invisible, until your pie chart is clicked. The second form opens and uses the context of your click to pass a token.&lt;/P&gt;

&lt;P&gt;Below, I've edited the example so that it uses a pie chart and so that the structure of the searches is the same as yours (without the evals etc...) so you can see how you might replace the searches and the token value setting. It uses internal Splunk data so it will run in your environment as is. &lt;/P&gt;

&lt;P&gt;Create a new dashboard, click "edit source" and paste the code in.&lt;BR /&gt;
Either clone the dashboard (after you see it run) and replace the searches with your own (and replace the reference to &lt;CODE&gt;sourcetype&lt;/CODE&gt; with your own field, in this case &lt;CODE&gt;MarcName&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will create a chart where when you click on the particular slice, it will pass the sort value (MarcName) to the next chart. That next chart will initiate ...|search MarcName= and there you have it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;In-Page Drilldown with Perma-linking&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;!--
            Create an input to store the drilldown value. It will be hidden using custom javascript when
            the dashboard is loaded.
         --&amp;gt;
    &amp;lt;input type="text" token="sourcetype" searchWhenChanged="true"&amp;gt;&amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart id="master"&amp;gt;
      &amp;lt;title&amp;gt;Master&amp;lt;/title&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal | stats count(sourcetype) as ST by sourcetype&amp;lt;/query&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;/search&amp;gt;
      &amp;lt;!-- Set the type of of drilldown, since we will always consume the same field, use row--&amp;gt;
      &amp;lt;drilldown&amp;gt;
        &amp;lt;!-- Use set to specify the new token to be created.
                     Use any token from the page or from the click event to produce the value needed. --&amp;gt;
        &amp;lt;set token="sourcetype"&amp;gt;$row.sourcetype$&amp;lt;/set&amp;gt;
        &amp;lt;!-- If we also set the form.sourcetype the input will get updated too --&amp;gt;
        &amp;lt;set token="form.sourcetype"&amp;gt;$row.sourcetype$&amp;lt;/set&amp;gt;
      &amp;lt;/drilldown&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY2.enabled"&amp;gt;false&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;!-- depends is the way we tell the content to only show when the token has a value.
             Hint: use comma separated values if the element requires more than one token. --&amp;gt;
    &amp;lt;chart id="detail" depends="$sourcetype$"&amp;gt;
      &amp;lt;title&amp;gt;Detail: $sourcetype$&amp;lt;/title&amp;gt;
      &amp;lt;searchTemplate&amp;gt;index=_internal | search sourcetype=$sourcetype$ | stats count(sourcetype) as numvalue by source&amp;lt;/searchTemplate&amp;gt;
      &amp;lt;earliestTime&amp;gt;-60m@m&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 Apr 2015 05:50:32 GMT</pubDate>
    <dc:creator>rsennett_splunk</dc:creator>
    <dc:date>2015-04-21T05:50:32Z</dc:date>
    <item>
      <title>How can I drill down from one panel (pie chart) to another panel in the same dashboard,  passing a variable from the chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151310#M9214</link>
      <description>&lt;P&gt;i create query for pie chart they show marcName in different different color i want when i click on particular colour then they show other pie chart for that particular marcName details like refReq, refRes, save, for that MarcName how i do this&lt;BR /&gt;
my first query is:&lt;BR /&gt;
index=machine  | eval GG=substr(Msg,1,5)  |eval MarcName=if((GG=="ARL E" OR GG=="QRL E"),substr(Msg, 27,5),substr(Msg, 26,5)) |stats count(MarcName) as numviewed by MarcName&lt;/P&gt;

&lt;P&gt;By this query they show many MarcName in different colour so when i click on particular colour(Particular MarcName) then they go to next query with that particular MarcName&lt;BR /&gt;
My secound Query is:&lt;BR /&gt;
index=machine  | eval GG=substr(Msg,1,5)|eval MarcName=if((GG=="ARL E" OR GG=="QRL E"),substr(Msg, 27,5),substr(Msg, 26,5))  | eval ll=substr(Msg,0,7) |search MarcName=mmm09 |eval tran=if(ll="QRLNP72","refReq",if(ll="ARLNP72","refRes",if(ll="QRL E04","save","other")))| stats count(MarcName) as numviewed by tran&lt;/P&gt;

&lt;P&gt;in this query on click particular colour in 1st query they take MarcName automaticaly in 2nd query that  place( &lt;STRONG&gt;|search MarcName=mmm09&lt;/STRONG&gt;)&lt;/P&gt;

&lt;P&gt;here &lt;STRONG&gt;mmm09&lt;/STRONG&gt; is i want automatically take on click in first query pie chart single colour they take value&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 12:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151310#M9214</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-20T12:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drill down from one panel (pie chart) to another panel in the same dashboard,  passing a variable from the chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151311#M9215</link>
      <description>&lt;P&gt;What you are looking for is demonstrated in the "contextual Drilldown" example in the &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk 6.x Dashboard examples App&lt;/A&gt;&lt;BR /&gt;
To find the example install the app, and then select it. Click on the Examples Menu and then choose "Drilldown Examples"  The one you want is towards the bottom. "Contextual Drilldown"  When you view it, the title is: "In-Page Drilldown with Perma-linking"  For further detail you can look at the example just left of Contextual Drilldown called "Dynamic Drilldown". The first, shows how you create two panes. One is invisible, until your pie chart is clicked. The second form opens and uses the context of your click to pass a token.&lt;/P&gt;

&lt;P&gt;Below, I've edited the example so that it uses a pie chart and so that the structure of the searches is the same as yours (without the evals etc...) so you can see how you might replace the searches and the token value setting. It uses internal Splunk data so it will run in your environment as is. &lt;/P&gt;

&lt;P&gt;Create a new dashboard, click "edit source" and paste the code in.&lt;BR /&gt;
Either clone the dashboard (after you see it run) and replace the searches with your own (and replace the reference to &lt;CODE&gt;sourcetype&lt;/CODE&gt; with your own field, in this case &lt;CODE&gt;MarcName&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will create a chart where when you click on the particular slice, it will pass the sort value (MarcName) to the next chart. That next chart will initiate ...|search MarcName= and there you have it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;In-Page Drilldown with Perma-linking&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;!--
            Create an input to store the drilldown value. It will be hidden using custom javascript when
            the dashboard is loaded.
         --&amp;gt;
    &amp;lt;input type="text" token="sourcetype" searchWhenChanged="true"&amp;gt;&amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart id="master"&amp;gt;
      &amp;lt;title&amp;gt;Master&amp;lt;/title&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal | stats count(sourcetype) as ST by sourcetype&amp;lt;/query&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;/search&amp;gt;
      &amp;lt;!-- Set the type of of drilldown, since we will always consume the same field, use row--&amp;gt;
      &amp;lt;drilldown&amp;gt;
        &amp;lt;!-- Use set to specify the new token to be created.
                     Use any token from the page or from the click event to produce the value needed. --&amp;gt;
        &amp;lt;set token="sourcetype"&amp;gt;$row.sourcetype$&amp;lt;/set&amp;gt;
        &amp;lt;!-- If we also set the form.sourcetype the input will get updated too --&amp;gt;
        &amp;lt;set token="form.sourcetype"&amp;gt;$row.sourcetype$&amp;lt;/set&amp;gt;
      &amp;lt;/drilldown&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY2.enabled"&amp;gt;false&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;!-- depends is the way we tell the content to only show when the token has a value.
             Hint: use comma separated values if the element requires more than one token. --&amp;gt;
    &amp;lt;chart id="detail" depends="$sourcetype$"&amp;gt;
      &amp;lt;title&amp;gt;Detail: $sourcetype$&amp;lt;/title&amp;gt;
      &amp;lt;searchTemplate&amp;gt;index=_internal | search sourcetype=$sourcetype$ | stats count(sourcetype) as numvalue by source&amp;lt;/searchTemplate&amp;gt;
      &amp;lt;earliestTime&amp;gt;-60m@m&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Apr 2015 05:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151311#M9215</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-04-21T05:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drill down from one panel (pie chart) to another panel in the same dashboard,  passing a variable from the chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151312#M9216</link>
      <description>&lt;P&gt;Thanks for reply sir,&lt;BR /&gt;
yestaday i found this app and i success to create&lt;/P&gt;

&lt;P&gt;my XML is &lt;/P&gt;

&lt;P&gt;searchtry&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!--
        Create an input to store the drilldown value. It will be hidden using custom javascript when
        the dashboard is loaded.
     --&amp;gt;
&amp;lt;input type="text" token="MarcName" searchWhenChanged="true"&amp;gt;&amp;lt;/input&amp;gt;



  &amp;lt;title&amp;gt;Master&amp;lt;/title&amp;gt;
  &amp;lt;searchString&amp;gt;index=newpwm source="SOCK_20150327_192217.log"  | eval GG=substr(Msg,1,5)  |eval MarcName=if((GG=="ARL E" OR GG=="QRL E"),substr(Msg, 27,5),substr(Msg, 26,5)) |stats count(MarcName) as numviewed by MarcName&amp;lt;/searchString&amp;gt;
  &amp;lt;earliestTime&amp;gt;&amp;lt;/earliestTime&amp;gt;
  &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
 &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisEnd&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;

  &amp;lt;drilldown&amp;gt;
    &amp;lt;!-- Use set to specify the new token to be created.
                 Use any token from the page or from the click event to produce the value needed. --&amp;gt;
    &amp;lt;set token="MarcName"&amp;gt;$row.MarcName$&amp;lt;/set&amp;gt;
    &amp;lt;!-- If we also set the form.sourcetype the input will get updated too --&amp;gt;
    &amp;lt;set token="form.MarcName"&amp;gt;$row.MarcName$&amp;lt;/set&amp;gt;
  &amp;lt;/drilldown&amp;gt;
   &amp;lt;/chart&amp;gt;



&amp;lt;!-- depends is the way we tell the content to only show when the token has a value.
         Hint: use comma separated values if the element requires more than one token. --&amp;gt;
&amp;lt;chart id="detail" depends="$MarcName$"&amp;gt;
  &amp;lt;title&amp;gt;Detail: $MarcName$&amp;lt;/title&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;index=newpwm source="SOCK_20150327_192217.log" | eval GG=substr(Msg,1,5)|eval MarcName=if((GG=="ARL E" OR GG=="QRL E"),substr(Msg, 27,5),substr(Msg, 26,5)) | eval ll=substr(Msg,0,7) |search MarcName=$MarcName$ |eval tran=if(ll="QRLNP72","refReq",if(ll="ARLNP72","refRes",if(ll="QRL E04","save","other")))| stats count(MarcName) as numviewed by tran&amp;lt;/query&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY2.enabled"&amp;gt;false&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisEnd&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
&amp;lt;/chart&amp;gt;


&amp;lt;!-- depends is the way we tell the content to only show when the token has a value.
         Hint: use comma separated values if the element requires more than one token. --&amp;gt;
&amp;lt;chart id="detai" depends="$MarcName$"&amp;gt;
  &amp;lt;title&amp;gt;Detail: $MarcName$&amp;lt;/title&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;index=newpwm source="SOCK_20150327_192217.log" Msg="QRL E04*" |eval MarcName=substr(Msg, 27,5)  |search MarcName=$MarcName$ |eval uu=substr(Msg,32,12) |join uu [search index=newpwm source="SOCK_20150327_192217.log" Msg=ARLNL* OR Msg=ARLNA* | eval ll=substr(Msg,0,7)|eval uu=if(ll=="ARLNL72",substr(Msg,299,12),substr(Msg,315,12))] | eval ll=substr(Msg,0,7) |eval tran=if(ll="ARLNL12","SaleTran",if(ll="ARLNL72","RefTran","other"))| stats count(ll) as numviewed by tran



    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY2.enabled"&amp;gt;false&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisEnd&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
&amp;lt;/chart&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Apr 2015 06:21:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151312#M9216</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-22T06:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drill down from one panel (pie chart) to another panel in the same dashboard,  passing a variable from the chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151313#M9217</link>
      <description>&lt;P&gt;Thanks for reply sir,&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 07:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151313#M9217</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-22T07:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drill down from one panel (pie chart) to another panel in the same dashboard,  passing a variable from the chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151314#M9218</link>
      <description>&lt;P&gt;Yup! Good job.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:01:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drill-down-from-one-panel-pie-chart-to-another-panel/m-p/151314#M9218</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-04-22T18:01:53Z</dc:date>
    </item>
  </channel>
</rss>

