<?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: Data log on dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283748#M45271</link>
    <description>&lt;P&gt;See if this gives you any ideas. Create an events panel to drilldown to&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Dynamicdrilldownindashboardsandforms"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2016 23:03:49 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-07-26T23:03:49Z</dc:date>
    <item>
      <title>Data log on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283747#M45270</link>
      <description>&lt;P&gt;I currently have a table on my dashboard that filters specific fields from my data log and when you click on a specific field of table it opens the log on a new web page. Is there a way I can open the data log under my table on the dashboard?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283747#M45270</guid>
      <dc:creator>sonasingh147</dc:creator>
      <dc:date>2016-07-26T19:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data log on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283748#M45271</link>
      <description>&lt;P&gt;See if this gives you any ideas. Create an events panel to drilldown to&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Dynamicdrilldownindashboardsandforms"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 23:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283748#M45271</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-26T23:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data log on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283749#M45272</link>
      <description>&lt;P&gt;What you're speaking of is called "In-page" OR "Contextual" drilldown. The Splunk 6.x Dashboard example app has examples of that under "Drilldown element". &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For your reference, the example code is this (run anywhere code, works on 6.2,6.3,6.4 version&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;/fieldset&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;table 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 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;option name="drilldown"&amp;gt;row&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="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;/table&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;search&amp;gt;
                &amp;lt;query&amp;gt;index=_internal sourcetype=$sourcetype$ | timechart count&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;/chart&amp;gt;
    &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Jul 2016 23:11:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-log-on-dashboard/m-p/283749#M45272</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-26T23:11:50Z</dc:date>
    </item>
  </channel>
</rss>

