summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.c
Commit message (Collapse)AuthorAgeFilesLines
* first shot at global variables (without proper sync so far)Rainer Gerhards2013-07-221-0/+5
|
* milestone: basic local variable functionality availableRainer Gerhards2013-07-171-0/+5
| | | | but some nits, like do not work with disk queues
* fix regression that caused freeInstance not to be correctly calledRainer Gerhards2013-07-151-2/+2
| | | | was introduced July, 5th 2013 by commit 8ee2b0b1610fbf4dff20453d188f379583410b42
* enable shuffling of crypto parameters down through queue definitionRainer Gerhards2013-05-101-4/+2
|
* Merge branch 'v7-stable'Rainer Gerhards2013-04-081-5/+18
|\ | | | | | | | | | | Conflicts: grammar/rainerscript.c runtime/ruleset.c
| * bugfix: nested if/prifilt conditions did not work properlyRainer Gerhards2013-04-041-4/+17
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=415
* | optimize memory layout for much better cache hitsRainer Gerhards2013-01-151-12/+12
| | | | | | | | | | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!).
* | optimize: re-use already computed value!Rainer Gerhards2013-01-141-2/+2
| |
* | Merge branch 'v7-stable'Rainer Gerhards2013-01-081-7/+18
|\|
| * bugfix: on termination, actions were incorrectly calledRainer Gerhards2012-12-201-7/+18
| | | | | | | | | | | | | | The problem was that incomplete fiter evaluation was done *during the shutdown phase*. This affected only the LAST batches being processed. No problem existed during the regular run. Could usually only happen on very busy systems, which were still busy during shutdown.
* | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-8/+17
|\| | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-301-8/+17
| | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
* | queue: change generic msg ptr (pUsr) to be of msg_t typeRainer Gerhards2012-11-031-8/+7
| |
* | Merge branch 'v7-stable'Rainer Gerhards2012-10-241-2/+0
|\|
| * cleanupRainer Gerhards2012-10-241-2/+0
| |
* | refactor tpl processor so that date is queried once per templateRainer Gerhards2012-10-101-1/+2
|/ | | | Things like $YEAR, $MONTH required a time() call each.
* add "parser" parameter to ruleset(), so that parser chain can be configuredRainer Gerhards2012-10-021-8/+24
|
* bugfix: ruleset(){} directive errornously changed default rulesetRainer Gerhards2012-10-011-5/+1
| | | | | much like the $ruleset legacy conf statement. This potentially lead to statements being assigned to the wrong ruleset.
* implement RainerScript "call" statementRainer Gerhards2012-10-011-0/+5
|
* cleanupRainer Gerhards2012-10-011-1/+0
|
* Implement RainerScript ruleset() statementRainer Gerhards2012-09-281-3/+54
|
* fix invalid free caused by optimized script executionRainer Gerhards2012-09-251-1/+2
|
* fix compile problem due to error in last commitRainer Gerhards2012-09-211-1/+0
|
* Implement script optimization IF -> PRIFILTRainer Gerhards2012-09-211-10/+22
|
* Add skeleton for RainerScript optimizerRainer Gerhards2012-09-201-0/+34
| | | | actual optimization is not yet done
* new ruleengine: implement template type "subtree"Rainer Gerhards2012-09-181-1/+1
|
* new ruleengine: Implent "unset" statementRainer Gerhards2012-09-171-7/+22
|
* Implement set config stmt (initial version)Rainer Gerhards2012-09-131-0/+22
| | | | | code passes basic tests, no extended testing done. Definitely room for improvement, but not bad ;)
* another small cleanupRainer Gerhards2012-09-121-1/+0
|
* bugfix: abort when invalid property name was configuredRainer Gerhards2012-09-121-0/+4
|
* new ruleengine: bugfix, messages were processed multiple timesRainer Gerhards2012-09-121-10/+2
|
* new ruleengine: properly freeing stmt treeRainer Gerhards2012-09-061-1/+1
|
* new ruleengine: restore action iterator functionalityRainer Gerhards2012-09-061-46/+38
|
* new ruleengine: some cleanupRainer Gerhards2012-09-061-50/+2
|
* new ruleengine: implement rainerscript execution engineRainer Gerhards2012-09-061-1/+277
|
* switch ruleset.h to ASL 2.0Rainer Gerhards2012-09-041-15/+13
| | | | | | There was a single contribution from varmojfekoj, and that has been removed some time ago. So I am the sole copyright holder and can change the license.
* new ruleengine: skeleton for reading conf file in placeRainer Gerhards2012-09-041-1/+19
| | | | code still does not work, actual functions not implemented
* Merge branch 'v6-stable'Rainer Gerhards2012-08-251-5/+4
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/ruleset.c tools/syslogd.c
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-08-251-5/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html runtime/ruleset.c template.h threads.c tools/syslogd.c
| | * Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-08-221-5/+4
| | |\ | | | | | | | | | | | | | | | | Conflicts: runtime/ruleset.c
| | | * bugfix: multiple main queues with same queue file name were not detectedRainer Gerhards2012-08-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | This lead to queue file corruption. While the root cause is a config error, it is a bug that this important and hard to find config error was not detected by rsyslog.
| | * | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-04-181-5/+5
| | |\| | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c
* | | | added --enable-debugless configure option for very high demanding environmentsRainer Gerhards2012-05-291-9/+8
|/ / / | | | | | | | | | | | | This actually at compile time disables a lot of debug code, resulting in some speedup (but serious loss of debugging capabilities)
* | | Merge branch 'v6-stable'Rainer Gerhards2012-04-181-5/+5
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/ruleset.c runtime/ruleset.h
| * | bugfix: assigned ruleset was lost when using disk queuesRainer Gerhards2012-04-181-5/+5
| | | | | | | | | | | | | | | | | | This looked quite hard to diagnose for disk-assisted queues, as the pure memory part worked well, but ruleset info was lost for messages stored inside the disk queue.
* | | Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-1/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c configure.ac doc/imuxsock.html plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c runtime/ruleset.c tcpsrv.h tools/syslogd.c
| * | stats: added unique (and friendly) name for ruleset queuesRainer Gerhards2012-01-311-1/+4
| |/
* | bugfix: rsyslog aborted during startup if there is an error in loading an actionRainer Gerhards2012-01-271-1/+1
| | | | | | | | and legacy configuration mode is used
* | Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/immark/immark.c plugins/imptcp/imptcp.c plugins/imrelp/imrelp.c plugins/imtcp/imtcp.c plugins/imtemplate/imtemplate.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c plugins/omtemplate/omtemplate.c runtime/glbl.c runtime/parser.c tools/omfile.c tools/syslogd.c
| * | undoing v6.1 config scoping interface, part IRainer Gerhards2012-01-181-2/+2
| | | | | | | | | | | | The most common files are now changed, more needs to be done.