<?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 page is showing loading for long time afer clicking a pie chart segments in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244281#M15200</link>
    <description>&lt;P&gt;Without seeing your dashboard, it's difficult to know what's causing the problem. Here is a working "run-anywhere" dashboard with a pie-chart and table. See if this gives you any ideas&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Splunk Answers&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="st"&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;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype="$st$" |  table _time sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 22 Nov 2016 09:05:51 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-11-22T09:05:51Z</dc:date>
    <item>
      <title>Drill down page is showing loading for long time afer clicking a pie chart segments</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244280#M15199</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My requirement is to get a table format of selected fields when i click an particular segment of pie chart .&lt;BR /&gt;
But when i click the pie chart i am getting  a page loading for long time but no page appears .&lt;/P&gt;

&lt;P&gt;Please let me know how to achieve this requirement .&lt;/P&gt;

&lt;P&gt;sorry i couldnt post my xml code ,&lt;/P&gt;

&lt;P&gt;i have used like this  [search Assessment_Description="$click.value2$"]&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 06:13:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244280#M15199</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2016-11-22T06:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down page is showing loading for long time afer clicking a pie chart segments</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244281#M15200</link>
      <description>&lt;P&gt;Without seeing your dashboard, it's difficult to know what's causing the problem. Here is a working "run-anywhere" dashboard with a pie-chart and table. See if this gives you any ideas&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Splunk Answers&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="st"&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;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype="$st$" |  table _time sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Nov 2016 09:05:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244281#M15200</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-11-22T09:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down page is showing loading for long time afer clicking a pie chart segments</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244282#M15201</link>
      <description>&lt;P&gt;Hi umsundar2015,&lt;BR /&gt;
sorry but I didn't understand you problem: you have a dashboard with a pie chart, clicking on a pie slice, you want drilldown in another dashboard passing the value of the pie slice, correct?&lt;BR /&gt;
If this is your need, it isn't correct  &lt;CODE&gt;[search Assessment_Description="$click.value2$"]&lt;/CODE&gt;&lt;BR /&gt;
Because in the mother dashboard you have to put this code&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;drilldown&amp;gt;
  &amp;lt;link&amp;gt;child_dashboard?=Assessment_Description=$click.value2$&amp;amp;amp;TimeDa=$Time.earliest$&amp;amp;amp;TimeA=$Time.latest$&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Instead in the child dashboard you have to insert &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search Assessment_Description="$Assessment_Description$" | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In other words: in the father dashboard you have to associate to a token (Assessment_Description) the clicked value and in the child dashboard you have to search for the token value.&lt;BR /&gt;
In my example there is also the way to pass Time Frames to the child dashboard.&lt;/P&gt;

&lt;P&gt;If instead you want to perform a drilldown in the same dashboard, you have to insert in the mother panel&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;set token="Assessment_Description"&amp;gt;$click.value2$&amp;lt;/set&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and in the child panel &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search Assessment_Description="$Assessment_Description$" | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 12:42:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244282#M15201</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-11-22T12:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down page is showing loading for long time afer clicking a pie chart segments</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244283#M15202</link>
      <description>&lt;P&gt;Thank you Cusello .. &lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drill-down-page-is-showing-loading-for-long-time-afer-clicking-a/m-p/244283#M15202</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2016-12-08T06:40:18Z</dc:date>
    </item>
  </channel>
</rss>

