<feed xmlns='http://www.w3.org/2005/Atom'>
<title>logactio.git/LogActio/__init__.py, branch release</title>
<subtitle>Simple log file watcher framework which does certain actions when some log events happen</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/'/>
<entry>
<title>Migrate to Python 3</title>
<updated>2020-07-30T15:03:42+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@eurephia.org</email>
</author>
<published>2020-07-29T13:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=421c0a73bc8e8cfed0f1188bd886e741dff1076a'/>
<id>421c0a73bc8e8cfed0f1188bd886e741dff1076a</id>
<content type='text'>
Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve the message passing to the Reporter modules</title>
<updated>2015-11-12T14:16:19+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2015-11-12T14:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=601ef99ca66f694c1c7e27c97be0554572f5b6ad'/>
<id>601ef99ca66f694c1c7e27c97be0554572f5b6ad</id>
<content type='text'>
The message sent to the Reporter modules contained a string of
each regex match group values separated by a pipe (|).  This was
not flexible enough, so this change will send all the regex match
groups as a Python list to the Reporter.

The existing Reporter modules have currently just been modified
to stitch together the message list as a string identical to the
old behaviour now, to ensure backwards compatibility for now.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The message sent to the Reporter modules contained a string of
each regex match group values separated by a pipe (|).  This was
not flexible enough, so this change will send all the regex match
groups as a Python list to the Reporter.

The existing Reporter modules have currently just been modified
to stitch together the message list as a string identical to the
old behaviour now, to ensure backwards compatibility for now.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update GPL license and other related details</title>
<updated>2015-10-23T18:21:06+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2015-10-23T18:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=c27eb9090ab4262a4f49b4e96d21cc6fa524cf9e'/>
<id>c27eb9090ab4262a4f49b4e96d21cc6fa524cf9e</id>
<content type='text'>
- Use the proper FSF address
- Use the new contact address for David Sommerseth
- Use a better wording for the GPLv2 only license

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use the proper FSF address
- Use the new contact address for David Sommerseth
- Use a better wording for the GPLv2 only license

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix off-by-one in hit counter</title>
<updated>2015-09-25T19:40:18+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2015-09-25T19:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=c4a83e9ef613ad136fefe207b4db97e3462c5639'/>
<id>c4a83e9ef613ad136fefe207b4db97e3462c5639</id>
<content type='text'>
Without this patch the "count" variable would be off by one when
passing it to the reporter modules.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this patch the "count" variable would be off by one when
passing it to the reporter modules.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a new threshold parameter: threshold-type</title>
<updated>2013-12-26T16:41:34+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2013-12-26T16:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=3b96eeb9a932b55c9ef13f5a9649c30bde86ac14'/>
<id>3b96eeb9a932b55c9ef13f5a9649c30bde86ac14</id>
<content type='text'>
This can be set to either 'rule' or 'exact'.  If not defined,
it defaults to 'rule' which is exactly the same as before.

In 'rule' mode, the threshould counter is increased each time
the regular expression triggers a match.

By switching to 'exact', it will be defined a threshold counter
based on the conntents of the regex groups when a match is found.
This gives a more fine grained threshold counter, which can be
used for example for blocking specific IP addresses after a
certain number of failed attempts is caught.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can be set to either 'rule' or 'exact'.  If not defined,
it defaults to 'rule' which is exactly the same as before.

In 'rule' mode, the threshould counter is increased each time
the regular expression triggers a match.

By switching to 'exact', it will be defined a threshold counter
based on the conntents of the regex groups when a match is found.
This gives a more fine grained threshold counter, which can be
used for example for blocking specific IP addresses after a
certain number of failed attempts is caught.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a simple logfile reopen mechanism</title>
<updated>2012-11-15T01:27:24+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-11-15T01:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=369024f04e8582a2aee503416a670418e9d57e50'/>
<id>369024f04e8582a2aee503416a670418e9d57e50</id>
<content type='text'>
If logrotate has been run inbetween since last time the log file
was checked, the opened fd will not point at the new file.  In this
case reopen the log file and process all new events in this new file.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If logrotate has been run inbetween since last time the log file
was checked, the opened fd will not point at the new file.  In this
case reopen the log file and process all new events in this new file.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added 'reset-rule-rate-limits' variable to [Rules:*] sections</title>
<updated>2012-09-28T02:08:38+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-09-28T02:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=d1860488b78a9e59dbe62f4c6a9c888c1d6d50d3'/>
<id>d1860488b78a9e59dbe62f4c6a9c888c1d6d50d3</id>
<content type='text'>
This variable takes a comma separated list of rule names, for the
same log file, which will reset the any active processing
limitations.  This can make one rule enforce another rule to
become active again if 'rate-limit' or 'time-frame' limitations
for that rule is stopping it from reacting.

A useful scenario for this feature is if there is a rule which only
reports about connection issues f.ex. only once an hour.  If the
connection comes back again another rule can report about this
instantly.  Without this feature enabled, it can take up to one
hour before the report about the newly broken connection is sent.
By enabling this feature, the "connection OK" rule can reset the
rate-limit and/or time-frame restrictions on the "broken connection"
rule and thus force a report instantly if the connection breaks
again - regardless of the rate-limit/time-frame limitation.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This variable takes a comma separated list of rule names, for the
same log file, which will reset the any active processing
limitations.  This can make one rule enforce another rule to
become active again if 'rate-limit' or 'time-frame' limitations
for that rule is stopping it from reacting.

A useful scenario for this feature is if there is a rule which only
reports about connection issues f.ex. only once an hour.  If the
connection comes back again another rule can report about this
instantly.  Without this feature enabled, it can take up to one
hour before the report about the newly broken connection is sent.
By enabling this feature, the "connection OK" rule can reset the
rate-limit and/or time-frame restrictions on the "broken connection"
rule and thus force a report instantly if the connection breaks
again - regardless of the rate-limit/time-frame limitation.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a rate-limit variable to [Rule:*] sections</title>
<updated>2012-09-20T23:28:33+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-09-20T23:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=57add453dbfd974e73dda9faaf03f2b44709c2db'/>
<id>57add453dbfd974e73dda9faaf03f2b44709c2db</id>
<content type='text'>
This will avoid sending more reports if it happens within the
given amount of seconds since the last report for this rule.

So if you have this set to 10 seconds and this rule matches
a log line every second, the time between each report will be
10 seconds.  The rate-limit is kind of defining 1 report per
X seconds.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will avoid sending more reports if it happens within the
given amount of seconds since the last report for this rule.

So if you have this set to 10 seconds and this rule matches
a log line every second, the time between each report will be
10 seconds.  The rate-limit is kind of defining 1 report per
X seconds.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for time-frame variable in [Rule:* sections]</title>
<updated>2012-09-20T23:16:23+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-09-20T22:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=a0807122264b80546cae7069b1e643de265ceb0b'/>
<id>a0807122264b80546cae7069b1e643de265ceb0b</id>
<content type='text'>
This optional variable extends the threshold trigger to require
the matching rule to have a hit within the given time-frame.

If threshold is set to 3 and time-frame to 10, it must be
3 events within 10 seconds for this rule to cause an action.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This optional variable extends the threshold trigger to require
the matching rule to have a hit within the given time-frame.

If threshold is set to 3 and time-frame to 10, it must be
3 events within 10 seconds for this rule to cause an action.

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for multiple reporters per [Logfile:*] and [Rule:*]</title>
<updated>2012-09-16T15:26:13+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-09-16T15:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/logactio.git/commit/?id=dbaf8d9df54127688b282740aac9ee0d5cf5efbc'/>
<id>dbaf8d9df54127688b282740aac9ee0d5cf5efbc</id>
<content type='text'>
This allows multiple reporters to act when it is triggered

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows multiple reporters to act when it is triggered

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
