<?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: creating a drilldown using the span from the from the source dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350149#M22792</link>
    <description>&lt;P&gt;hey @jvmerilla&lt;/P&gt;

&lt;P&gt;Use this ready-made XML create a dashboard and simply put this XML: which has span and time picker as the input filter.&lt;BR /&gt;
edit the dashboard add some more &lt;CODE&gt;span&lt;/CODE&gt; according to your need.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="time" token="field1" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Timepicker&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="span"&amp;gt;
      &amp;lt;label&amp;gt;span&amp;lt;/label&amp;gt;
      &amp;lt;choice value="5m"&amp;gt;5 minutes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="15m"&amp;gt;15 minutes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="30m"&amp;gt;30 minutes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="1mon"&amp;gt;1 month&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&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="sample_data" sourcetype="analytics_sampledata.csv" Status="*" "Ticket Type"="*" Priority="*" | fields * | rename "Reported_Assigned Date" as Reported_Assigned_Date | eval _time = strptime(Reported_Assigned_Date, "%m/%d/%Y") | rename "Application Name" as Application | timechart span=$span$ count by Application&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[
         /app/search/test2?form.test2token=$field2$
         ]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it helps you!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2017 12:43:30 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2017-12-20T12:43:30Z</dc:date>
    <item>
      <title>creating a drilldown using the span from the from the source dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350146#M22789</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a chart with this query:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index="sample_data" sourcetype="analytics_sampledata.csv" Status="*" "Ticket Type"="*" Priority="*"&lt;BR /&gt;
      | fields *&lt;BR /&gt;
      | rename "Reported_Assigned Date" as Reported_Assigned_Date&lt;BR /&gt;
      | eval _time = strptime(Reported_Assigned_Date, "%m/%d/%Y") |  rename "Application Name" as Application&lt;BR /&gt;
| timechart span=1mon count by Application&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This is the visualization:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4019i6A987175D4429728/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The &lt;CODE&gt;span&lt;/CODE&gt; here is dynamic. It is being set by a "drop-down input"&lt;/P&gt;

&lt;P&gt;What I want to happen is that to pass this &lt;CODE&gt;span&lt;/CODE&gt; to the drilldown so that I the result I will get in the drilldown is only the data within that time span.&lt;/P&gt;

&lt;P&gt;How will I do this?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 09:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350146#M22789</guid>
      <dc:creator>jvmerilla</dc:creator>
      <dc:date>2017-12-20T09:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: creating a drilldown using the span from the from the source dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350147#M22790</link>
      <description>&lt;P&gt;Hi @jvmerilla,&lt;/P&gt;

&lt;P&gt;I have created sample dashboard, please find below XML in which I am supplying span value from drop-down and after that while clicking on any column it is passing &lt;CODE&gt;span&lt;/CODE&gt; value (which I am passing from dropdown as &lt;CODE&gt;field2&lt;/CODE&gt; token) to another dashboard using drilldown.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="multiselect" token="field1" searchWhenChanged="false"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="sourcetype"&amp;gt;Sourcetype&amp;lt;/choice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query/&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="field2"&amp;gt;
      &amp;lt;label&amp;gt;field2&amp;lt;/label&amp;gt;
      &amp;lt;choice value="5m"&amp;gt;5 min&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="15m"&amp;gt;15 min&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&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 | timechart span=$field2$ count by $field1$ &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-120m&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;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[
        /app/search/test2?form.test2token=$field2$
        ]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:27:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350147#M22790</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-20T10:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: creating a drilldown using the span from the from the source dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350148#M22791</link>
      <description>&lt;P&gt;Hi @jvmerilla,&lt;BR /&gt;
Please check expected answer in the below link if it works for you.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/230345/how-can-i-drill-down-from-one-panel-pie-chart-to-a.html"&gt;https://answers.splunk.com/answers/230345/how-can-i-drill-down-from-one-panel-pie-chart-to-a.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 11:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350148#M22791</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2017-12-20T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: creating a drilldown using the span from the from the source dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350149#M22792</link>
      <description>&lt;P&gt;hey @jvmerilla&lt;/P&gt;

&lt;P&gt;Use this ready-made XML create a dashboard and simply put this XML: which has span and time picker as the input filter.&lt;BR /&gt;
edit the dashboard add some more &lt;CODE&gt;span&lt;/CODE&gt; according to your need.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="time" token="field1" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Timepicker&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="span"&amp;gt;
      &amp;lt;label&amp;gt;span&amp;lt;/label&amp;gt;
      &amp;lt;choice value="5m"&amp;gt;5 minutes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="15m"&amp;gt;15 minutes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="30m"&amp;gt;30 minutes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="1mon"&amp;gt;1 month&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&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="sample_data" sourcetype="analytics_sampledata.csv" Status="*" "Ticket Type"="*" Priority="*" | fields * | rename "Reported_Assigned Date" as Reported_Assigned_Date | eval _time = strptime(Reported_Assigned_Date, "%m/%d/%Y") | rename "Application Name" as Application | timechart span=$span$ count by Application&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[
         /app/search/test2?form.test2token=$field2$
         ]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it helps you!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 12:43:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/creating-a-drilldown-using-the-span-from-the-from-the-source/m-p/350149#M22792</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-20T12:43:30Z</dc:date>
    </item>
  </channel>
</rss>

