<?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 create simple XML dashboard with contextual drilldown elements in Splunk 6? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199082#M12446</link>
    <description>&lt;P&gt;Full examples are in these apps.  I recommend upgrading to the 6.1.1 release as well.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk 6.1 Overview:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://apps.splunk.com/app/1773/"&gt;https://apps.splunk.com/app/1773/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Simple XML Examples&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://apps.splunk.com/app/1603/"&gt;https://apps.splunk.com/app/1603/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2014 13:18:25 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2014-06-17T13:18:25Z</dc:date>
    <item>
      <title>How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199080#M12444</link>
      <description>&lt;P&gt;Hi.  I'm trying to create a simple XML dashboard with one table and a chart that takes a drilldown value from that table.  &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/Viz/Understandbasictableandchartdrilldownactions" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.1/Viz/Understandbasictableandchartdrilldownactions&lt;/A&gt; describes what I want under "Contextual drilldown elements", but when I try to implement the drilldown as described in the first example, it simply takes me to the search bar when I click a table row.  I looked at the Splunk 6 Dashboard Examples App, but the in-page drilldown with permalinking example requires CSS and JS, and it doesn't seem like that should be needed.  Is there some parameter I'm missing that will tell it to stay on the current page and just load the extra chart?&lt;/P&gt;

&lt;P&gt;EDIT: Here's the relevant code.  I tried using click.value instead of row.site, but neither worked; nor did including the option for drilldown=row.&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;FORM&gt;&lt;BR /&gt;
  &lt;LABEL&gt;Test&lt;/LABEL&gt;&lt;BR /&gt;
  &lt;FIELDSET autorun="false" submitbutton="true"&gt;&lt;BR /&gt;
    &lt;INPUT type="time" searchwhenchanged="true" /&gt;&lt;BR /&gt;
      &lt;DEFAULT&gt;&lt;BR /&gt;
        &lt;EARLIESTTIME&gt;-5m&lt;/EARLIESTTIME&gt;&lt;BR /&gt;
        &lt;LATESTTIME&gt;now&lt;/LATESTTIME&gt;&lt;BR /&gt;
      &lt;/DEFAULT&gt;&lt;BR /&gt;
    &lt;BR /&gt;
  &lt;/FIELDSET&gt;&lt;BR /&gt;
  &lt;ROW&gt;&lt;BR /&gt;
    &lt;TABLE&gt;&lt;BR /&gt;
      &lt;SEARCHSTRING&gt;index=foo sourcetype=iis-access | eval Error=if(code&amp;gt;=400,1,0) | stats count as Volume sum(Error) as Errors avg(time_taken) as AvgTime max(time_taken) as Max_Time by site | eval AvgTime=round(AvgTime,1)&lt;/SEARCHSTRING&gt;&lt;BR /&gt;
      &lt;EARLIESTTIME&gt;$earliest$&lt;/EARLIESTTIME&gt;&lt;BR /&gt;
      &lt;LATESTTIME&gt;$latest$&lt;/LATESTTIME&gt;&lt;BR /&gt;
      &lt;DRILLDOWN&gt;&lt;BR /&gt;
        &lt;SET token="site"&gt;$row.site$&lt;/SET&gt;&lt;BR /&gt;
      &lt;/DRILLDOWN&gt;&lt;BR /&gt;
      true&lt;BR /&gt;
      false&lt;BR /&gt;
      none&lt;BR /&gt;
      10&lt;BR /&gt;
    &lt;/TABLE&gt;&lt;BR /&gt;
    &lt;CHART depends="$site$"&gt;&lt;BR /&gt;
      &lt;TITLE&gt;Service levels for site $site$&lt;/TITLE&gt;&lt;BR /&gt;
      &lt;SEARCHSTRING&gt;&lt;BR /&gt;
        &amp;lt;![CDATA[index=foo sourcetype=iis-access site=$site$ | eval ServiceLevel=case(0&amp;lt;=time_taken AND time_taken &amp;lt;2,"good",2&amp;lt;=time_taken AND time_taken &amp;lt;4,"warning",4&amp;lt;=time_taken,"unacceptable",1==1,"error") | chart count by ServiceLevel]]&amp;gt;&lt;BR /&gt;
      &lt;/SEARCHSTRING&gt;&lt;BR /&gt;
    &lt;/CHART&gt;&lt;BR /&gt;
  &lt;/ROW&gt;&lt;BR /&gt;
&lt;/FORM&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199080#M12444</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2020-09-28T16:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199081#M12445</link>
      <description>&lt;P&gt;Do post the relevant SimpleXML code. There's nothing in particular to be careful about, so there's probably a simple mistake in there somewhere.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2014 22:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199081#M12445</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-06-16T22:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199082#M12446</link>
      <description>&lt;P&gt;Full examples are in these apps.  I recommend upgrading to the 6.1.1 release as well.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk 6.1 Overview:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://apps.splunk.com/app/1773/"&gt;https://apps.splunk.com/app/1773/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Simple XML Examples&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://apps.splunk.com/app/1603/"&gt;https://apps.splunk.com/app/1603/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 13:18:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199082#M12446</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-17T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199083#M12447</link>
      <description>&lt;P&gt;Hi @dmaislin_splunk.  I already looked at these apps and noted in my question that the in-page example in the app required JS and CSS, and the docs imply that shouldn't be necessary.  Is the doc I linked incorrect, or did I miss something in the implementation?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199083#M12447</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2014-06-17T14:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199084#M12448</link>
      <description>&lt;P&gt;In 6.0.x the CSS and JS is extra.  In 6.1 it is no longer required.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199084#M12448</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-17T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199085#M12449</link>
      <description>&lt;P&gt;So in-page drilldown isn't supposed to work in simple XML in 6.0 without all the extras?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:28:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199085#M12449</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2014-06-17T14:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199086#M12450</link>
      <description>&lt;P&gt;I haven't tested without the javascript and css in 6.x.  I just found it easier to upgrade.  Sorry I can't be of more assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199086#M12450</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-17T14:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199087#M12451</link>
      <description>&lt;P&gt;Correct, in-page drilldown is a new feature in Splunk 6.1, whereby you can fully configure it in Simple XML without the requirement for custom js and css.&lt;/P&gt;

&lt;P&gt;After upgrading to Splunk 6.1, I would recommend installing the latest Splunk 6.x Dashboard Examples app v2.0.1 as that includes the updated Simple XML-only example.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 16:07:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199087#M12451</guid>
      <dc:creator>nfilippi_splunk</dc:creator>
      <dc:date>2014-06-17T16:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create simple XML dashboard with contextual drilldown elements in Splunk 6?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199088#M12452</link>
      <description>&lt;P&gt;Thanks for the clarifications.  Unfortunately this isn't an instance I have control over upgrading, so I'll write it off for now.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 16:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-simple-XML-dashboard-with-contextual-drilldown/m-p/199088#M12452</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2014-06-17T16:35:38Z</dc:date>
    </item>
  </channel>
</rss>

