<?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 count condition in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/count-condition/m-p/77486#M1087</link>
    <description>&lt;P&gt;so i have logs where a log entry is generated when things are bad; and another when it's good. i can typically use 'transaction' to group these together; however, i only care to get information when i get one entry (bad) but not the related other (good).&lt;/P&gt;

&lt;P&gt;so i have each event tagged with 'up' or 'down', so i was thinking of doing something where if the last entry is 'down', then i want some output - like in a table by the host.&lt;/P&gt;

&lt;P&gt;any idea how this could be implemented?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2011 06:21:58 GMT</pubDate>
    <dc:creator>ytl</dc:creator>
    <dc:date>2011-04-08T06:21:58Z</dc:date>
    <item>
      <title>count condition</title>
      <link>https://community.splunk.com/t5/Alerting/count-condition/m-p/77486#M1087</link>
      <description>&lt;P&gt;so i have logs where a log entry is generated when things are bad; and another when it's good. i can typically use 'transaction' to group these together; however, i only care to get information when i get one entry (bad) but not the related other (good).&lt;/P&gt;

&lt;P&gt;so i have each event tagged with 'up' or 'down', so i was thinking of doing something where if the last entry is 'down', then i want some output - like in a table by the host.&lt;/P&gt;

&lt;P&gt;any idea how this could be implemented?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 06:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/count-condition/m-p/77486#M1087</guid>
      <dc:creator>ytl</dc:creator>
      <dc:date>2011-04-08T06:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: count condition</title>
      <link>https://community.splunk.com/t5/Alerting/count-condition/m-p/77487#M1088</link>
      <description>&lt;P&gt;This isn't too hard.  Using the transaction command along with 'startswith' and 'endswith' you want to search on transactions that aren't closed and then output those unclosed (or evicted) transactions "|search closed_txn=0"&lt;/P&gt;

&lt;P&gt;keepevicted=
Description: Whether to output evicted transactions. Evicted transactions are events that do
NOT match the transaction parameters; for example, the time range is wrong, or the
"startswith" or "endswith" requirements are missing. Evicted transactions can be distinguished
from non-evicted transactions by checking the value of the 'closed_txn' field, which is set to '0' for evicted transactions and '1' for closed ones. A transaction is evicted from memory when the memory limitations are reached.&lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:33:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/count-condition/m-p/77487#M1088</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2011-04-08T19:33:13Z</dc:date>
    </item>
  </channel>
</rss>

