<?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: Add a Static Baseline? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79936#M4341</link>
    <description>&lt;P&gt;Your last command is a stats command so you get that view.  &lt;/P&gt;

&lt;P&gt;Updated:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;...&amp;gt; | timechart count, first(BaseLine) as Baseline by date | eval BaseLine=1240
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 02 Oct 2013 14:20:48 GMT</pubDate>
    <dc:creator>sdaniels</dc:creator>
    <dc:date>2013-10-02T14:20:48Z</dc:date>
    <item>
      <title>Add a Static Baseline?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79935#M4340</link>
      <description>&lt;P&gt;I'm trying to set up a dashboard panel to automatically alert me every time the number of critical or high threat hits goes over a pre-determined baseline. Right now I have that manually calculated, but I can go through and tweak that later. So, what I've got so far:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="pan_threat" (severity="high" OR "critical") | timechart span=1h count by date | eval Baseline=1240 | stats first(Baseline) as Baseline
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I expected this to chart the normal graph of count by date that I've been using, then append a line at the value of Baseline for each day. Instead, I get this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Baseline
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1   1240&lt;/P&gt;

&lt;P&gt;Any thoughts on why it's not working?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79935#M4340</guid>
      <dc:creator>tfitzgerald15</dc:creator>
      <dc:date>2013-10-02T14:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Static Baseline?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79936#M4341</link>
      <description>&lt;P&gt;Your last command is a stats command so you get that view.  &lt;/P&gt;

&lt;P&gt;Updated:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;...&amp;gt; | timechart count, first(BaseLine) as Baseline by date | eval BaseLine=1240
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79936#M4341</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2013-10-02T14:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Static Baseline?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79937#M4342</link>
      <description>&lt;P&gt;And then I get the following error.&lt;/P&gt;

&lt;P&gt;Error in 'timechart' command: The argument 'first(baseline)' is invalid.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:28:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79937#M4342</guid>
      <dc:creator>tfitzgerald15</dc:creator>
      <dc:date>2013-10-02T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Static Baseline?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79938#M4343</link>
      <description>&lt;P&gt;Oh yeah sorry, the by date part is messing that up.  I think you can move the  split 'by date' to the end.  I'm on my phone right now but will check this for you later.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79938#M4343</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2013-10-02T14:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Static Baseline?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79939#M4344</link>
      <description>&lt;P&gt;That is a lot better. I just completely got rid of the "By Date". However, now the baseline appears broken up. Wish I could post links, I'd show you an image of what I see.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:51:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79939#M4344</guid>
      <dc:creator>tfitzgerald15</dc:creator>
      <dc:date>2013-10-02T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Static Baseline?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79940#M4345</link>
      <description>&lt;P&gt;This works for me, i just moved the split by date after the first(BaseLine) as Baseline.  If you create a line chart you should then see the two lines you are looking for.&lt;/P&gt;

&lt;P&gt;&amp;lt;...&amp;gt; | timechart count, first(BaseLine) as Baseline by date | eval BaseLine=1240&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 15:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-Static-Baseline/m-p/79940#M4345</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2013-10-02T15:03:43Z</dc:date>
    </item>
  </channel>
</rss>

