<?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 only interested in the last line of the table for creating alerts in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103873#M26867</link>
    <description>&lt;P&gt;I have a savedsearch thats on a dashboard that is run every hour.&lt;BR /&gt;
It gives a table with or each hour of that day a row with some stats (like the % of slow transactions).&lt;/P&gt;

&lt;P&gt;Now i would like to add an alert to this saved search, to be notified if the % of slow transactions is above a certain percentage.&lt;/P&gt;

&lt;P&gt;A conditional alert with condition&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search slowpct&amp;gt;10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does the trick ... but once we have had an hour with a lot of slow transactions it will always gets triggers.&lt;BR /&gt;
So i am looking for a way to do this search only on the last row of my table with results so i only get an alert when that line has a slowpct&amp;gt;10 .&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2011 10:34:25 GMT</pubDate>
    <dc:creator>bowa</dc:creator>
    <dc:date>2011-05-18T10:34:25Z</dc:date>
    <item>
      <title>only interested in the last line of the table for creating alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103873#M26867</link>
      <description>&lt;P&gt;I have a savedsearch thats on a dashboard that is run every hour.&lt;BR /&gt;
It gives a table with or each hour of that day a row with some stats (like the % of slow transactions).&lt;/P&gt;

&lt;P&gt;Now i would like to add an alert to this saved search, to be notified if the % of slow transactions is above a certain percentage.&lt;/P&gt;

&lt;P&gt;A conditional alert with condition&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search slowpct&amp;gt;10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does the trick ... but once we have had an hour with a lot of slow transactions it will always gets triggers.&lt;BR /&gt;
So i am looking for a way to do this search only on the last row of my table with results so i only get an alert when that line has a slowpct&amp;gt;10 .&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2011 10:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103873#M26867</guid>
      <dc:creator>bowa</dc:creator>
      <dc:date>2011-05-18T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: only interested in the last line of the table for creating alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103874#M26868</link>
      <description>&lt;P&gt;If you want the search to return the latest (top) row of your table, then add the following pipe after your search: &lt;CODE&gt;| head 1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you want the last (bottom) row of your table, then add the follwing pipe after your search:&lt;BR /&gt;
&lt;CODE&gt;| tail 1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2011 11:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103874#M26868</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2011-05-18T11:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: only interested in the last line of the table for creating alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103875#M26869</link>
      <description>&lt;P&gt;duh ... now i feel stupid :$&lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2011 11:48:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103875#M26869</guid>
      <dc:creator>bowa</dc:creator>
      <dc:date>2011-05-18T11:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: only interested in the last line of the table for creating alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103876#M26870</link>
      <description>&lt;P&gt;No problem, it's a useful question&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2011 11:55:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/only-interested-in-the-last-line-of-the-table-for-creating/m-p/103876#M26870</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2011-05-18T11:55:08Z</dc:date>
    </item>
  </channel>
</rss>

