summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: double-free in omelasticsearchRainer Gerhards2013-07-021-1/+0
| | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=461 Thanks to Marius Ionescu for providing a detailled bug report
* bugfix: omrelp potential segfault at startup on invalid config parametersRainer Gerhards2013-06-251-1/+2
| | | | | Conflicts: ChangeLog
* imfile: remove redundant error mesageRainer Gerhards2013-06-251-2/+0
|
* typo fix ("listner" vs. "listener")Michael Biebl2013-06-252-2/+2
|
* imtcp: permit parameter name with typo for backward compatibilityRainer Gerhards2013-06-251-1/+3
|
* imtcp: fix typo in config parameter nameMichael Biebl2013-06-251-2/+2
|
* bugfix: potential segfault on rsyslog termination in imudpRainer Gerhards2013-06-251-1/+0
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=456
* bugfix: RainerScript object required parameters were not properly checkedRainer Gerhards2013-06-242-8/+2
| | | | this clould result to segfaults on startup if parameters were missing.
* bugfix: omrelp "template" parameter is NOT requiredRainer Gerhards2013-06-241-1/+1
|
* impstats: solve build problem on FreeBSDRainer Gerhards2013-06-241-0/+4
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=458
* imjournal: rate limiter was destructed too earlyRainer Gerhards2013-06-171-1/+1
| | | | | Too quick hacking, obviously, one too late, one too early, now it should fit ;) Thanks to Tomas Heinrich for pointing this out.
* imjournal fix: put ratelimiter destruction in wrong entry pointRainer Gerhards2013-06-171-1/+1
| | | | No regression, this was in recently written, never-released code.
* implement new ratelimiting mode for imjournalRainer Gerhards2013-06-171-0/+3
| | | | | | | | | | | | | and make imjournal use it. The new mode is needed, as imjournal uses journal's timestamp as message generation time (which otherwise is when the message entered the system, and the ratelimiter uses this as current timestamp in order to save performance). It is debatable if imjournal is doing the right thing here. But it doesn't feel totally wrong. So let's safe that debate for later ;)
* Add IgnorePreviousMessages option to imjournal.Milan Bartos2013-06-171-5/+31
| | | | | | | | | | | | | This option specifies whether imjournal should ignore messages that are currently in journal. This option is only used when there is no StateFile to avoid message loss. modified: doc/imjournal.html modified: plugins/imjournal/imjournal.c Conflicts: doc/imjournal.html plugins/imjournal/imjournal.c
* Merge branch 'tmp' into v7-stableRainer Gerhards2013-06-171-3/+3
|\ | | | | | | | | Conflicts: plugins/imjournal/imjournal.c
| * Rename legacy imjournal configs to have "imjournal" prepended.Milan Bartos2013-06-171-3/+3
| | | | | | | | | | modified: doc/imjournal.html modified: plugins/imjournal/imjournal.c
* | imjournal: add legacy config statement for ratelimitingRainer Gerhards2013-06-151-0/+4
| |
* | imjournal: add ratelimiting capabilityRainer Gerhards2013-06-151-8/+23
| | | | | | | | | | | | | | | | | | | | | | The original imjournal code did not support ratelimiting at all. We now have our own ratelimiter. This can mitigate against journal database corruption, when the journal re-sends old data. This is a current bug in systemd journal, but we won't outrule this to happen in the future again. So it is better to have a safeguard in place. By default, we permit 20,000 messages witin 10 minutes. This may be a bit restrictive, but given the risk potential it seems reasonable. Users requiring larger traffic flows can always adjust the value.
* | bugfix: prevent a segfault if state file is not definedTomas Heinrich2013-06-141-12/+31
| |
* | bugfix: be more tolerant to malformed journal fieldsTomas Heinrich2013-06-101-1/+8
| | | | | | | | | | | | This prevents a segfault when a malformed journal entry field doesn't contain an equal sign. Should not ever happen but was actually triggered by a real bug in systemd journal.
* | bugfix imzmq3: potential segfault on startupHongfei Cheng2013-06-061-13/+57
|/ | | | if no problem happend at startup, everything went fine
* 0mq fixes; credits to Hongfei Cheng and Brian KnoxRainer Gerhards2013-06-044-397/+613
|
* 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: 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.
* 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-202-4/+4
| | | | | This prevents linking with libee, liblognorm and libgcrypt when not necessary.
* Don't #include libestr and libee headers when not necessaryTomas Heinrich2013-05-202-3/+1
| | | | | Through msg.h, many unrelated components needlessly required LIBEE_CFLAGS.
* Clean up warnings in imjournal and omjournalTomas Heinrich2013-05-202-9/+14
|
* 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.
* Add missing pid part of syslog tag.Milan Bartos2013-05-141-3/+24
|
* Fix a condition in imjournalTomas Heinrich2013-05-141-1/+10
| | | | | This prevented state file from being written with newer systemd. Add some more debug information.
* omrelp: remove legacy code that was never usedRainer Gerhards2013-05-141-57/+0
| | | | | | this was an artifact from the original copy from omfwd. The options were not functional and also not documented, so it is safe to simply remove them.
* bugfix: omrelp legacy config parameters set a timeout of zeroRainer Gerhards2013-05-131-0/+1
| | | | which lead the legacy config to be unusable.
* add omrabbitmqvtomec2013-04-293-0/+530
|
* cleanupRainer Gerhards2013-04-241-3/+0
|
* omelasticsearch: _id field support for bulk operationsJérôme Renard2013-04-241-17/+105
| | | | | | also max number of templates for plugin use has been increased to five closes: http://bugzilla.adiscon.com/show_bug.cgi?id=392
* "Fix" timestamp in imkmsg module.Milan Bartos2013-04-231-23/+23
| | | | | | | It's still 5-6 seconds late and this happens also in dmesg from util-linux. modified: plugins/imkmsg/kmsg.c
* omhiredis: add support for redis pipeline supportBrian Knox2013-04-172-36/+91
|
* imjournal: very slight optimizationRainer Gerhards2013-04-171-6/+6
| | | | | ... well, it's actually questionable if it is a real optimization or not ;)
* Fix journal trusted fields translation.Milan Bartos2013-04-171-8/+32
| | | | modified: plugins/imjournal/imjournal.c
* Add support for persistenting journal stateMilan Bartos2013-04-171-6/+132
| | | | modified: plugins/imjournal/imjournal.c
* Merge branch 'master' into master-imjournalRainer Gerhards2013-04-1711-68/+265
|\
| * bugfix: set correct default valueTomas Heinrich2013-04-131-1/+1
| |
| * bugfix: prevent a segfault if ratelimit condition is not metTomas Heinrich2013-04-131-4/+5
| | | | | | | | | | | | Move the severity-check logic inside the ratelimiter and add a new function ratelimitSetSeverity() to manipulate the treshold. Currently only utilized by the imuxsock module.
| * Update u_int8_t to uint8_tMartin Carpenter2013-04-101-1/+1
| |
| * Merge branch 'c7' into tmpRainer Gerhards2013-04-091-2/+16
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/queue.c
| | * make imrelp properly terminate on system shutdownRainer Gerhards2013-04-091-0/+1
| | | | | | | | | | | | it didn't do so if it was inside a retry loop
| | * add output module interface to facilitate cooperative shutdownRainer Gerhards2013-04-081-0/+6
| | | | | | | | | | | | | | | | | | ... in more complex cases (where receiving SIGTTIN is not sufficient). See also: http://blog.gerhards.net/2013/04/rsyslog-output-plugin-wrangling.html
| | * omrelp: add ability to specify session timeoutRainer Gerhards2013-04-081-2/+9
| | |