summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Merge branch 'c7'Rainer Gerhards2013-04-081-35/+97
| |\| | | | | | | | | | | | | Conflicts: ChangeLog
| | * omrelp: add support for RainerScript-based configurationRainer Gerhards2013-04-081-35/+97
| | |
| | * bugfix: imudp scheduling parameters did affect main thread, not imudpRainer Gerhards2013-03-211-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=409 Conflicts: ChangeLog
| * | bugfix: imuxsock aborted under some conditionsRainer Gerhards2013-03-271-0/+4
| | | | | | | | | | | | regression from ratelimiting enhancements
| * | imudp: support user-selectable inputnameRainer Gerhards2013-03-261-11/+31
| | |
| * | keep omlibdbi usable with older libdbi without transaction supportRainer Gerhards2013-03-211-1/+11
| | | | | | | | | | | | | | | | | | in that case, omlibdbi gracefully degrades to non-transaction mode but emits a warning message during build, so that one knows an update of libdbi makes sense.
| * | omlibdbi: support transaction interfaceUlrike Gerhards2013-03-211-6/+35
| | |
| * | bugfix: imudp scheduling parameters did affect main thread, not imudpRainer Gerhards2013-03-211-1/+9
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=409
| * | imfile: errors persisting state file are now reportedRainer Gerhards2013-03-201-0/+8
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=292
| * | imuxsock: add ability to NOT create/delete sockets during startup and shutdownRainer Gerhards2013-03-201-3/+20
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=259
| * | imfile: now detects file change when rsyslog was inactiveRainer Gerhards2013-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Previosly, this case could not be detected, so if a file was overwritten or rotated away while rsyslog was stopped, some data was missing. This is now detected and the new file being forwarded right from the beginning. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=228
| * | Merge branch 'v7-stable'Rainer Gerhards2013-03-201-0/+3
| |\|
| | * bugfix: imuxsock rate-limiting could not be configured via legacy confMilan Bartos2013-03-201-0/+3
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>