<?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 display both chart and statistics table on dashboard  without two separate panels and searches? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153191#M9379</link>
    <description>&lt;P&gt;I assume that you are running Splunk 6.1, and if so, you can use the following to satisfy your use case here:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;panel object to group your chart and table element into the same "box" on a dashboard&lt;/LI&gt;
&lt;LI&gt;searchTemplate in the global space in order to run a single background search to drive multiple visualizations&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Neither of these 2 functions are available in the viz editor, so you will need to edit your Simple XML directly from the xml editor.&lt;/P&gt;

&lt;P&gt;It should look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
   &amp;lt;label&amp;gt;Single Panel Dashboard&amp;lt;/label&amp;gt;
   &amp;lt;description/&amp;gt;
   &amp;lt;searchTemplate&amp;gt;index=_internal | top sourcetype&amp;lt;/searchTemplate&amp;gt;
   &amp;lt;earliestTime&amp;gt;-60m&amp;lt;/earliestTime&amp;gt;
   &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
   &amp;lt;row&amp;gt;
     &amp;lt;panel&amp;gt;
       &amp;lt;chart&amp;gt;
         &amp;lt;title&amp;gt;myChart&amp;lt;/title&amp;gt;
       &amp;lt;/chart&amp;gt;
       &amp;lt;table&amp;gt;
         &amp;lt;title&amp;gt;myTable&amp;lt;/title&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 Jul 2014 21:06:22 GMT</pubDate>
    <dc:creator>nfilippi_splunk</dc:creator>
    <dc:date>2014-07-22T21:06:22Z</dc:date>
    <item>
      <title>How to display both chart and statistics table on dashboard  without two separate panels and searches?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153187#M9375</link>
      <description>&lt;P&gt;Is there a way to display both chart and statistics table on a dashboard without adding two separate panels and running the same search twice? &lt;BR /&gt;
I know you can flip back and forth between the chart and stats table but what if I want to display both ? &lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 19:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153187#M9375</guid>
      <dc:creator>irfans</dc:creator>
      <dc:date>2014-07-22T19:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display both chart and statistics table on dashboard  without two separate panels and searches?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153188#M9376</link>
      <description>&lt;P&gt;One option that may satisify your needs is to use sparklines to add time based detail to your tables:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Search/Addsparklinestosearchresults#Using_sparklines_with_the_stats_and_chart_commands"&gt;Spark lines&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you do end up adding two panels but you want one search to drive them, you would use a simple xml feature called search templates.  &lt;/P&gt;

&lt;P&gt;The docs are located here for &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Viz/Savedsearches#Search_template_element"&gt;search templates&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 20:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153188#M9376</guid>
      <dc:creator>okrabbe_splunk</dc:creator>
      <dc:date>2014-07-22T20:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to display both chart and statistics table on dashboard  without two separate panels and searches?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153189#M9377</link>
      <description>&lt;P&gt;Splunk version?? Simple Xml or Advanced xml?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 21:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153189#M9377</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-22T21:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to display both chart and statistics table on dashboard  without two separate panels and searches?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153190#M9378</link>
      <description>&lt;P&gt;We are running Splunk version 6.0 , so far I am making dashboard in simple XML but I don't want mind learning Advanced XML if they are the way to go.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 21:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153190#M9378</guid>
      <dc:creator>irfans</dc:creator>
      <dc:date>2014-07-22T21:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display both chart and statistics table on dashboard  without two separate panels and searches?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153191#M9379</link>
      <description>&lt;P&gt;I assume that you are running Splunk 6.1, and if so, you can use the following to satisfy your use case here:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;panel object to group your chart and table element into the same "box" on a dashboard&lt;/LI&gt;
&lt;LI&gt;searchTemplate in the global space in order to run a single background search to drive multiple visualizations&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Neither of these 2 functions are available in the viz editor, so you will need to edit your Simple XML directly from the xml editor.&lt;/P&gt;

&lt;P&gt;It should look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
   &amp;lt;label&amp;gt;Single Panel Dashboard&amp;lt;/label&amp;gt;
   &amp;lt;description/&amp;gt;
   &amp;lt;searchTemplate&amp;gt;index=_internal | top sourcetype&amp;lt;/searchTemplate&amp;gt;
   &amp;lt;earliestTime&amp;gt;-60m&amp;lt;/earliestTime&amp;gt;
   &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
   &amp;lt;row&amp;gt;
     &amp;lt;panel&amp;gt;
       &amp;lt;chart&amp;gt;
         &amp;lt;title&amp;gt;myChart&amp;lt;/title&amp;gt;
       &amp;lt;/chart&amp;gt;
       &amp;lt;table&amp;gt;
         &amp;lt;title&amp;gt;myTable&amp;lt;/title&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 Jul 2014 21:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-both-chart-and-statistics-table-on-dashboard/m-p/153191#M9379</guid>
      <dc:creator>nfilippi_splunk</dc:creator>
      <dc:date>2014-07-22T21:06:22Z</dc:date>
    </item>
  </channel>
</rss>

