<?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 Basic Dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Basic-Dashboard/m-p/57557#M43909</link>
    <description>&lt;P&gt;Looking for a basic dashboard that does things like the following:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;number of events indexed over the past 7 days by day&lt;/LI&gt;
&lt;LI&gt;top 5 source types indexed in the past 7 days&lt;/LI&gt;
&lt;LI&gt;top 5 alerts emailed in the past 7 days by sourcetype&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I looked through the dashboard example application and the examples are just not relevant.&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2013 19:20:02 GMT</pubDate>
    <dc:creator>peter_gianusso</dc:creator>
    <dc:date>2013-03-11T19:20:02Z</dc:date>
    <item>
      <title>Basic Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Basic-Dashboard/m-p/57557#M43909</link>
      <description>&lt;P&gt;Looking for a basic dashboard that does things like the following:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;number of events indexed over the past 7 days by day&lt;/LI&gt;
&lt;LI&gt;top 5 source types indexed in the past 7 days&lt;/LI&gt;
&lt;LI&gt;top 5 alerts emailed in the past 7 days by sourcetype&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I looked through the dashboard example application and the examples are just not relevant.&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2013 19:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Basic-Dashboard/m-p/57557#M43909</guid>
      <dc:creator>peter_gianusso</dc:creator>
      <dc:date>2013-03-11T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Basic-Dashboard/m-p/57558#M43910</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Events indexed in last 7 days&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-7d@d latest=@d index=_internal source="*metrics.log" group="per_index_thruput" | timechart span=1d sum(ev) by series | fields - VALUE_* 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Top 5 sourcetypes in last 7 days&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-7d@d latest=@d index=_internal source="*metrics.log" group="per_sourcetype_thruput" NOT (series=splunk* OR series=searches OR series=audittrail OR series=stash OR series=scheduler) | top limit=5 series
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Top 5 alerts emailed in last 7 days&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=alert_fired | top limit=5 ss_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Getting this by sourcetype doesn't make sense. Alerts are not bound by sourcetypes, they're  orthogonal concepts. Conditions for alerts are independent of the sourcetype, unless you specify it in the alert search&lt;/P&gt;

&lt;P&gt;Choose a visualization you like from the samples, replace the search with the ones above and away you go ..&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Because my simplexml-fu is weak&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Example :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;
&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Throughput Summary&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt; 
      &amp;lt;searchString&amp;gt;index=_internal source="*metrics.log" group="per_index_thruput" | timechart span=1d sum(ev) by series | fields - VALUE_*&amp;lt;/searchString&amp;gt;
        &amp;lt;earliestTime&amp;gt;-7d@d&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;@d&amp;lt;/latestTime&amp;gt;
      &amp;lt;title&amp;gt;Indexed Events&amp;lt;/title&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;searchString&amp;gt;index=_internal source="*metrics.log" group="per_sourcetype_thruput" NOT (series=splunk* OR series=searches OR series=audittrail OR series=stash OR series=scheduler) | stats sum(ev) as Events by series | sort -count | head 5 | rename series as Sourcetype&amp;lt;/searchString&amp;gt;
        &amp;lt;earliestTime&amp;gt;-7d@d&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;@d&amp;lt;/latestTime&amp;gt;
      &amp;lt;title&amp;gt;Top 5 Sourcetype by Volume&amp;lt;/title&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;searchString&amp;gt;index=_audit action=alert_fired | top limit=5 ss_name | rename ss_name as "Saved Search" count as Alerts | fields - percent&amp;lt;/searchString&amp;gt;
        &amp;lt;earliestTime&amp;gt;-7d@d&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;@d&amp;lt;/latestTime&amp;gt;
      &amp;lt;title&amp;gt;Top 5 Alert Generating Searches&amp;lt;/title&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;And because advanced XML is better&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;view autoCancelInterval="90" isVisible="true" objectMode="SimpleDashboard" onunloadCancelJobs="true" refresh="-1" template="dashboard.html"&amp;gt;
  &amp;lt;label&amp;gt;Throughput Summary&amp;lt;/label&amp;gt;
  &amp;lt;module name="AccountBar" layoutPanel="appHeader"/&amp;gt;
  &amp;lt;module name="AppBar" layoutPanel="navigationHeader"/&amp;gt;
  &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
    &amp;lt;param name="filter"&amp;gt;*&amp;lt;/param&amp;gt;
    &amp;lt;param name="clearOnJobDispatch"&amp;gt;False&amp;lt;/param&amp;gt;
    &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
  &amp;lt;/module&amp;gt;
  &amp;lt;module name="DashboardTitleBar" layoutPanel="viewHeader"/&amp;gt;

  &amp;lt;module name="HiddenSearch" layoutPanel="panel_row1_col1_grp1" group="Indexed Events" autoRun="True"&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;-7d@d&amp;lt;/param&amp;gt;
    &amp;lt;param name="latest"&amp;gt;@d&amp;lt;/param&amp;gt;
    &amp;lt;param name="search"&amp;gt;index=_internal source="*metrics.log" group="per_index_thruput" | timechart span=1d sum(ev) by series | fields - VALUE_* | fillnull value=0&amp;lt;/param&amp;gt;
    &amp;lt;module name="JobProgressIndicator"&amp;gt; 
      &amp;lt;module name="EnablePreview"&amp;gt;
        &amp;lt;param name="display"&amp;gt;False&amp;lt;/param&amp;gt;
        &amp;lt;param name="enable"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;module name="HiddenChartFormatter" layoutPanel="panel_row1_col1_grp1"&amp;gt;
          &amp;lt;param name="charting.chart"&amp;gt;column&amp;lt;/param&amp;gt;
          &amp;lt;param name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/param&amp;gt;
          &amp;lt;module name="JSChart"/&amp;gt;
        &amp;lt;/module&amp;gt;
        &amp;lt;module name="HiddenPostProcess"&amp;gt;
          &amp;lt;param name="search"&amp;gt;addtotals | fields _time Total &amp;lt;/param&amp;gt;
          &amp;lt;module name="SimpleResultsTable" layoutPanel="panel_row1_col1_grp2"&amp;gt;
            &amp;lt;param name="displayRowNumbers"&amp;gt;off&amp;lt;/param&amp;gt;
          &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;

  &amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" group="Top 5 Sourcetypes by Volume" autoRun="True"&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;-7d@d&amp;lt;/param&amp;gt;
    &amp;lt;param name="latest"&amp;gt;@d&amp;lt;/param&amp;gt;
    &amp;lt;param name="search"&amp;gt;index=_internal source="*metrics.log" group="per_sourcetype_thruput" NOT (series=splunk* OR series=searches OR series=audittrail OR series=stash OR series=scheduler) | stats sum(ev) as Events by series | sort -Events | head 5 | rename series as Sourcetype&amp;lt;/param&amp;gt;
    &amp;lt;module name="JobProgressIndicator"&amp;gt; 
      &amp;lt;module name="EnablePreview"&amp;gt;
        &amp;lt;param name="display"&amp;gt;False&amp;lt;/param&amp;gt;
        &amp;lt;param name="enable"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;module name="HiddenChartFormatter" layoutPanel="panel_row2_col1_grp1"&amp;gt;
          &amp;lt;param name="charting.chart"&amp;gt;pie&amp;lt;/param&amp;gt;
          &amp;lt;param name="charting.chart.sliceCollapsingThreshold"&amp;gt;0&amp;lt;/param&amp;gt;
          &amp;lt;module name="JSChart"/&amp;gt;
        &amp;lt;/module&amp;gt;
        &amp;lt;module name="SimpleResultsTable" layoutPanel="panel_row2_col1_grp2"&amp;gt;
            &amp;lt;param name="displayRowNumbers"&amp;gt;off&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;

  &amp;lt;module name="HiddenSearch" layoutPanel="panel_row3_col1_grp1" group="Top 5 Saved Searches by Alert Generation" autoRun="True"&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;-7d@d&amp;lt;/param&amp;gt;
    &amp;lt;param name="latest"&amp;gt;@d&amp;lt;/param&amp;gt;
    &amp;lt;param name="search"&amp;gt;index=_audit action=alert_fired | top limit=5 ss_name | rename ss_name as "Saved Search" count as Alerts | fields - percent&amp;lt;/param&amp;gt;
    &amp;lt;module name="JobProgressIndicator"&amp;gt; 
      &amp;lt;module name="EnablePreview"&amp;gt;
        &amp;lt;param name="display"&amp;gt;False&amp;lt;/param&amp;gt;
        &amp;lt;param name="enable"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;module name="HiddenChartFormatter" layoutPanel="panel_row3_col1_grp1"&amp;gt;
          &amp;lt;param name="charting.chart"&amp;gt;pie&amp;lt;/param&amp;gt;
          &amp;lt;param name="charting.chart.sliceCollapsingThreshold"&amp;gt;0&amp;lt;/param&amp;gt;
          &amp;lt;module name="JSChart"/&amp;gt;
        &amp;lt;/module&amp;gt;
        &amp;lt;module name="SimpleResultsTable" layoutPanel="panel_row3_col1_grp2"&amp;gt;
          &amp;lt;param name="displayRowNumbers"&amp;gt;off&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;

&amp;lt;/view&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Mar 2013 20:37:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Basic-Dashboard/m-p/57558#M43910</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-03-11T20:37:42Z</dc:date>
    </item>
  </channel>
</rss>

