summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mmcount: message modification plugin which counts messagesBala.FA2013-06-095-0/+384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module provides the capability to count log messages by severity or json property of given app-name. The count value is added into the log message as json property named 'mmcount' Example usage of the module in the configuration file module(load="mmcount") # count each severity of appname gluster action(type="mmcount" appname="gluster") # count each value of gf_code of appname gluster action(type="mmcount" appname="glusterd" key="!gf_code") # count value 9999 of gf_code of appname gluster action(type="mmcount" appname="glusterfsd" key="!gf_code" value="9999") # send email for every 50th mmcount if $app-name == 'glusterfsd' and $!mmcount <> 0 and $!mmcount % 50 == 0 then { $ActionMailSMTPServer smtp.example.com $ActionMailFrom rsyslog@example.com $ActionMailTo glusteradmin@example.com $template mailSubject,"50th message of gf_code=9999 on %hostname%" $template mailBody,"RSYSLOG Alert\r\nmsg='%msg%'" $ActionMailSubject mailSubject $ActionExecOnlyOnceEveryInterval 30 :ommail:;RSYSLOG_SyslogProtocol23Format } Signed-off-by: Bala.FA <barumuga@redhat.com>
* [io]mrelp: add TLS compression supportRainer Gerhards2013-06-076-5/+40
|
* Merge branch 'nextmaster'Rainer Gerhards2013-06-0624-117/+739
|\ | | | | | | | | Conflicts: ChangeLog
| * doc: describe relp tls parametersJan Gerhards2013-05-152-4/+10
| |
| * fix handling of unbounded blocksRainer Gerhards2013-05-161-1/+2
| |
| * fix regression on unencrypted queue filesRainer Gerhards2013-05-161-0/+2
| |
| * cleanupRainer Gerhards2013-05-163-7/+6
| |
| * complete handle multiple blocks in encrypted queue filesRainer Gerhards2013-05-166-37/+146
| |
| * properly handle padding bytes when reading queue filesRainer Gerhards2013-05-161-5/+10
| |
| * enable ability to read existing encrypted queue fileRainer Gerhards2013-05-152-3/+28
| |
| * clean up crypto provider state files on queue file rolloverRainer Gerhards2013-05-155-4/+29
| |
| * do not try to write to read-open encryption state fileRainer Gerhards2013-05-152-5/+7
| |
| * clean up crypto provider state files on queue file closeRainer Gerhards2013-05-156-2/+40
| |
| * omrelp: add "rebindInterval" parameterRainer Gerhards2013-05-142-5/+27
| |
| * imrelp: add support for TLSRainer Gerhards2013-05-141-5/+13
| |
| * Merge branch 'master' into nextmaster-rtlsRainer Gerhards2013-05-141-57/+0
| |\
| * | omrelp: add support for TLSRainer Gerhards2013-05-143-2/+17
| | |
| * | reflect librelp API changeRainer Gerhards2013-05-131-5/+5
| | |
| * | Merge branch 'master' into nextmasterRainer Gerhards2013-05-132-0/+3
| |\ \
| * | | fix invalid function prototypesRainer Gerhards2013-05-131-2/+2
| | | | | | | | | | | | | | | | regression from yet-unreleased enhancement (RELP IP address setting)
| * | | Merge branch 'master' into nextmasterRainer Gerhards2013-05-134-8/+8
| |\ \ \
| * \ \ \ Merge branch 'master' into nextmasterRainer Gerhards2013-05-131-95/+95
| |\ \ \ \
| * | | | | basic queue file encryptionRainer Gerhards2013-05-138-23/+248
| | | | | |
| * | | | | enable shuffling of crypto parameters down through queue definitionRainer Gerhards2013-05-108-43/+112
| | | | | |
| * | | | | extend crypto provider interface so that it can support queue subsystemRainer Gerhards2013-05-083-18/+45
| | | | | |
| * | | | | Merge branch 'master' into nextmasterRainer Gerhards2013-05-083-0/+13
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | | cosmetic: update .gitignore filesRainer Gerhards2013-05-081-0/+1
| | | | | | |
| * | | | | | doc: add Axel Rau's patch to ChangeLogRainer Gerhards2013-05-061-0/+5
| | | | | | |
| * | | | | | Add configurable local client IPAxel Rau2013-05-065-2/+40
| | | | | | |
* | | | | | | prepare for 7.4.0 releasev7.4.0Rainer Gerhards2013-06-053-3/+4
| | | | | | |
* | | | | | | 0mq fixes; credits to Hongfei Cheng and Brian KnoxRainer Gerhards2013-06-045-397/+614
| | | | | | |
* | | | | | | build: don't check for libs that are not neededTomas Heinrich2013-06-031-7/+1
| | | | | | |
* | | | | | | doc: correct omfile documentationTomas Heinrich2013-06-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the options affect all files, not just dynafiles.
* | | | | | | doc: clarify RSYSLOG_DEBUG formatTomas Heinrich2013-06-031-0/+1
| | | | | | |
* | | | | | | bugfix: postpone the start of the imgssapi listenerTomas Heinrich2013-06-031-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the listen socket is opened earlier (during configuration parsing), it is closed again during early init. The start has been postponed to the 'runInput' stage, which has an unpleasant side effect that it will fail if the priviledges are dropped. The code should be eventually fixed to support the new config system.
* | | | | | | bugfix: $template statement with multiple spaces lead to invalid tpl nameRainer Gerhards2013-05-273-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple spaces were used in front of the template name, all but one of them became actually part of the template name. So $template a,"..." would be name " a", and as such "a" was not available, e.g. in *.* /var/log/file;a This is a legacy config problem. As it was unreported for many years, no backport of the fix to old versions will happen. This is a long-standing bug that was only recently reported by forum user mc-sim. Reference: http://kb.monitorware.com/post23448.html
* | | | | | | doc bugfix: ReadMode wrong in imfile doc, two values were swappedRainer Gerhards2013-05-262-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=450 Thanks to jokajak@gmail.com for mentioning this
* | | | | | | add --enable-cached-man-pages ./configure optionRainer Gerhards2013-05-262-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permits to build rsyslog on a system where rst2man is not installed. In that case, cached versions of the man pages are used (they were built during "make dist", so they should be current for the version in question.
* | | | | | | bugfix: imjournal should respect termination requestTomas Heinrich2013-05-261-11/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sd_journal_wait() ignores EINTR and this behavior interferes with module's termination signaling. Therefore, poll() is used instead.
* | | | | | | bugfix: imjournal's thread shouldn't be canceledTomas Heinrich2013-05-261-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of cancelation, the correct possition in the journal was lost. This resulted in duplicate messages appearing in the logs.
* | | | | | | doc: add imjournal improvement to ChangeLogRainer Gerhards2013-05-221-0/+1
| | | | | | |
* | | | | | | Eliminate sleep in imjournal code with sd_journal_waitMilan Bartos2013-05-221-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: plugins/imjournal/imjournal.c
* | | | | | | Remove redundat cflags and links to librariesTomas Heinrich2013-05-204-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents linking with libee, liblognorm and libgcrypt when not necessary.
* | | | | | | Revert "bugfix: problem in build system (especially when cross-compiling)"Tomas Heinrich2013-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 813c9c7f524976ef598864afbb729bca31557c32. Removing references to libee.h in the previous commit solves the build issue so the cflag shoudn't be needed after all.
* | | | | | | Don't #include libestr and libee headers when not necessaryTomas Heinrich2013-05-203-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Through msg.h, many unrelated components needlessly required LIBEE_CFLAGS.
* | | | | | | Clean up warnings in imjournal and omjournalTomas Heinrich2013-05-202-9/+14
| | | | | | |
* | | | | | | Drop unneeded macro definitionTomas Heinrich2013-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro itself was a malformed version of "_GNU_SOURCE" and thus had no effect. It is not needed as this macro is already defined via AC_GNU_SOURCE.
* | | | | | | Imjournal state files can be stored in WorkDirectoryMilan2013-05-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the imjournal state file path doesn't start with '/', then it's by default stored in WorkDirectory. When path starts with '/', full path is used.
* | | | | | | bugfix: potential hang *in debug mode* on rsyslogd terminationRainer Gerhards2013-05-152-7/+15
| | | | | | |
* | | | | | | prepare for 7.3.15 releasev7.3.15Rainer Gerhards2013-05-143-3/+3
| | | | | | |