summaryrefslogtreecommitdiffstats
path: root/runtime/msg.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v7-stable'Rainer Gerhards2013-09-031-1/+1
|\
| * make rsyslog use the new json-c pkgconfig file if availablehwoarang2013-09-031-1/+1
| |
* | Merge branch 'c9'Rainer Gerhards2013-09-021-1/+3
|\ \ | | | | | | | | | | | | Conflicts: runtime/msg.c
| * | milestone: defaultTZ can be set in msg obj (via imtcp)Rainer Gerhards2013-08-301-1/+3
| |/ | | | | | | ... but parser does not yet use it.
* | first shot at global variables (without proper sync so far)Rainer Gerhards2013-07-221-0/+2
| |
* | milestone: basic local variable functionality availableRainer Gerhards2013-07-171-0/+3
| | | | | | | | but some nits, like do not work with disk queues
* | refactor in preparation of local variablesRainer Gerhards2013-07-171-1/+1
|/ | | | | local variables require a second json root; this refactoring makes sure we can basically use common functions for json handling
* Don't #include libestr and libee headers when not necessaryTomas Heinrich2013-05-201-2/+0
| | | | | Through msg.h, many unrelated components needlessly required LIBEE_CFLAGS.
* mmanon: complete ipv4 functionalityRainer Gerhards2013-03-041-0/+1
|
* optimize: obtaining programnameRainer Gerhards2013-01-141-2/+5
| | | | included some additional refactoring for cleaner code
* optimize msg.c/textpriRainer Gerhards2013-01-141-1/+0
| | | | remove snprintf() in favor for quicker code
* Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-12/+0
|\ | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglockRainer Gerhards2012-12-061-12/+0
| |\ | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * bugfix: some message properties could be garbled due to race conditionRainer Gerhards2012-12-061-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened only on very high volume systems, if the same message was being processed by two different actions. This was a regression caused by the new config processor, which did no longer properly enable msg locking in multithreaded cases. The bugfix is actually a refactoring of the msg locking code - we no longer do unlocked operations, as the use case for it has mostly gone away. It is potentially possible only at very low-end systems, and there the small additional overhead of doing the locking does not really hurt. Instead, the removal of that capability can actually slightly improve performance in common cases, as the code path is smaller and requires slightly less memory writes. That probably outperforms the extra locking overhead (which in the low-end case always happens in user space, without need for kernel support as we can always directly aquire the lock - there is no contention at all).
* | | cleanup: remove no longer needed functionRainer Gerhards2012-11-061-1/+0
| | |
* | | queue: reduce CPU load for deserializing message propertiesRainer Gerhards2012-11-061-0/+1
| | | | | | | | | | | | | | | Linear runtime due to message order. Was quadratic before. However, not a big overall improvement.
* | | queue: remove time() calls from msg deserializationRainer Gerhards2012-11-031-0/+1
| | |
* | | queue: use specific deserializer for msg objectRainer Gerhards2012-11-031-0/+2
| | | | | | | | | | | | spares lengthy table lookups
* | | queue: remove unnecessary (obj_t*) redirection from msg ptrsRainer Gerhards2012-11-031-0/+1
| | |
* | | refactor tpl processor so that date is queried once per templateRainer Gerhards2012-10-101-1/+1
|/ / | | | | | | Things like $YEAR, $MONTH required a time() call each.
* | new ruleengine: implement template type "subtree"Rainer Gerhards2012-09-181-1/+3
| |
* | new ruleengine: Implent "unset" statementRainer Gerhards2012-09-171-0/+7
| |
* | add native json-passing to output modules using JSON APIRainer Gerhards2012-08-311-0/+1
| |
* | Merge branch 'master' into v7-develRainer Gerhards2012-08-271-1/+1
|\| | | | | | | | | Conflicts: runtime/msg.c
| * add uuid property to message objectJérôme Renard2012-08-261-1/+1
| |
* | milestone: libee event removed from rsyslog core. Now pure JSON.Rainer Gerhards2012-08-271-2/+1
| |
* | milestone: first PoC for hierarchical data inside msgRainer Gerhards2012-08-271-1/+4
|/
* added "date-unixtimestamp" property replacer option to format as a unix ↵Rainer Gerhards2012-03-291-0/+2
| | | | timestamp
* added message property parsesuccess to indicate status of higher level ↵Rainer Gerhards2012-03-151-0/+2
| | | | | | | | parser run added message property parsesuccess to indicate if the last run higher-level parser could successfully parse the message or not (see property replacer html doc for details)
* milestone/[PARTWORK]: integrated all variable types (msg/sys/cee)Rainer Gerhards2011-07-081-0/+1
|
* milestone/[PARTWORK]: obtaining msg vars integrated, "==" works for stringsRainer Gerhards2011-07-071-0/+1
|
* Merge branch 'v5-beta'Rainer Gerhards2011-02-251-1/+2
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * added debug support for trying to find well-hidden bugRainer Gerhards2011-02-231-1/+2
| |
* | milestone: added support for CEE-variables to RainerScriptRainer Gerhards2010-12-031-0/+2
| |
* | milestone: added support for CEE-properties in property-based filtersRainer Gerhards2010-12-011-1/+2
| |
* | milestone: template supports CEE output via %$!all-json%Rainer Gerhards2010-12-011-1/+1
| |
* | milestone: added mmnormalize (compiles, but untested)Rainer Gerhards2010-12-011-0/+3
|/
* bugfix: atomic increment for msg object may not work correct on all platforms.Chris Metcalf2010-11-251-1/+1
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* finshed implementation of strgen modulesRainer Gerhards2010-06-041-2/+5
| | | | | | and also provided four build-in modules for the most common use cases, hopefully resulting in a speedup of around 5% for typical rsyslog processing.
* Merge branch 'v4-devel' into masterRainer Gerhards2010-04-271-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/atomic.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h runtime/wtp.c runtime/wtp.h
| * bugfix: problems with atomic operations emulationRainer Gerhards2010-04-271-0/+1
| | | | | | | | | | | | replaced atomic operation emulation with new code. The previous code seemed to have some issue and also limited concurrency severely. The whole atomic operation emulation has been rewritten.
| * changed flag value for v5-compatibilityRainer Gerhards2010-04-191-1/+1
| |
* | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-191-0/+1
|\| | | | | | | | | Conflicts: runtime/msg.h
| * changed imsolaris to use submitMsg() APIRainer Gerhards2010-04-191-0/+1
| | | | | | | | | | This includes a modification to the rsyslog engine so that messages without PRI inside the message can properly be handled.
* | replaced data type "bool" by "sbool" because this created some portability ↵Rainer Gerhards2010-02-021-5/+5
| | | | | | | | issues
* | moved DNS resolution code out of imudp and into the backend processingRainer Gerhards2009-11-171-7/+8
| | | | | | | | | | | | | | | | Most importantly, DNS resolution now never happens if the resolved name is not required. Note that this applies to imudp - for the other inputs, DNS resolution almost comes for free, so we do not do it there. However, the new method has been implemented in a generic way and as such may also be used by other modules in the future.
* | added the capability to have ruleset-specific main message queuesRainer Gerhards2009-10-271-0/+10
| | | | | | | | | | This offers considerable additional flexibility AND superior performance (in cases where multiple inputs now can avoid lock contention)
* | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-131-1/+0
| |
* | Merge branch 'beta'Rainer Gerhards2009-08-271-0/+17
|\|
| * bugfix: message sanitation had some issuesRainer Gerhards2009-08-261-0/+17
| | | | | | | | | | | | | | | | - control character DEL was not properly escaped - NUL and LF characters were not properly stripped if no control character replacement was to be done - NUL characters in the message body were silently dropped (this was a regeression introduced by some of the recent optimizations)