Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | milestone: now shuffeling wti ptr correctly down to action handler | Rainer Gerhards | 2013-10-27 | 2 | -14/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | except if main queue is in direct mode -- this need smore work and thinking (probably via pthreads state variables, but let's see later) | |||||
* | | | | | milestone: calling sequence changed so that wti is passed to many functions | Rainer Gerhards | 2013-10-26 | 4 | -31/+33 | |
| | | | | | ||||||
* | | | | | Merge branch 'master-var-refactor' into master-ruleeng | Rainer Gerhards | 2013-10-26 | 2 | -1/+14 | |
|\ \ \ \ \ | | |_|/ / | |/| | | | ||||||
| * | | | | Merge branch 'master' into master-var-refactor | Rainer Gerhards | 2013-10-26 | 2 | -1/+14 | |
| |\| | | | ||||||
| | * | | | Make use of int64 json numbers, if available | Pavel Levshin | 2013-10-26 | 1 | -0/+8 | |
| | | | | | ||||||
| | * | | | slight performance optimization if GCC is used | Rainer Gerhards | 2013-10-26 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We give branch prediction hints for the frequent RETiRet macro which is used for error handling. Some slight performance gain is to be expected from that. | |||||
* | | | | | maintain action ids (actionNbr) | Rainer Gerhards | 2013-10-26 | 3 | -1/+9 | |
| | | | | | ||||||
* | | | | | cosmetic stage work | Rainer Gerhards | 2013-10-26 | 1 | -2/+4 | |
|/ / / / | ||||||
* | | | | cleanup: remove no longer needed code | Rainer Gerhards | 2013-10-24 | 1 | -86/+0 | |
| | | | | ||||||
* | | | | refactoring regression fix: segfault if $$now is used in script | Rainer Gerhards | 2013-10-24 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | Thanks to Pavel Levshin for finding this bug. | |||||
* | | | | Merge branch 'master' into master-var-refactor | Rainer Gerhards | 2013-10-24 | 1 | -0/+6 | |
|\| | | | ||||||
| * | | | bugfix: Segmentation fault on incorrect variable assignment | Pavel Levshin | 2013-10-24 | 1 | -0/+6 | |
| | | | | ||||||
* | | | | (temporarily?) re-enable global vars in string templates | Rainer Gerhards | 2013-10-23 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | refactoring regression fix: invalid free for JSON properties | Rainer Gerhards | 2013-10-23 | 1 | -1/+4 | |
| | | | | ||||||
* | | | | permit writing not only msg variables via the msgAddJSON() API | Rainer Gerhards | 2013-10-23 | 1 | -18/+17 | |
| | | | | ||||||
* | | | | bugfix: unset statement always worked on message var, even if local var was ↵ | Rainer Gerhards | 2013-10-23 | 1 | -9/+21 | |
| | | | | | | | | | | | | | | | | given | |||||
* | | | | fix VAR handling in script grammar and code | Rainer Gerhards | 2013-10-23 | 3 | -8/+3 | |
| | | | | | | | | | | | | | | | | The $-var designator is now correctly stripped off the varname. | |||||
* | | | | enable error message for invalid property names | Rainer Gerhards | 2013-10-23 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | also add some support for global vars back, as the syntax may not go away. | |||||
* | | | | refactor: align jsonFind() calling interface with recent changes | Rainer Gerhards | 2013-10-23 | 2 | -5/+5 | |
| | | | | ||||||
* | | | | minor cleanup | Rainer Gerhards | 2013-10-23 | 1 | -2/+0 | |
| | | | | ||||||
* | | | | refactor: remove now no-longer needed functions | Rainer Gerhards | 2013-10-23 | 3 | -99/+0 | |
| | | | | ||||||
* | | | | refactor get.*PropVal() series of functions | Rainer Gerhards | 2013-10-23 | 2 | -35/+25 | |
| | | | | ||||||
* | | | | remove no longer necessary cases | Rainer Gerhards | 2013-10-23 | 1 | -6/+2 | |
| | | | | ||||||
* | | | | fix potential segfault introduced by last refactoring | Rainer Gerhards | 2013-10-23 | 1 | -2/+5 | |
| | | | | ||||||
* | | | | refactor: simplify JSON variable access | Rainer Gerhards | 2013-10-23 | 3 | -31/+22 | |
| | | | | ||||||
* | | | | refactor: use common code for message property description processing | Rainer Gerhards | 2013-10-22 | 6 | -77/+122 | |
| | | | | | | | | | | | | | | | | in all cases except script var access -- this comes next... | |||||
* | | | | refactor: somewhat simplify property-name-to-id mapping | Rainer Gerhards | 2013-10-21 | 2 | -21/+4 | |
| | | | | ||||||
* | | | | work a bit toward string handling unification | Rainer Gerhards | 2013-10-21 | 3 | -62/+48 | |
| | | | | ||||||
* | | | | prep work to support one-char variable namepaces | Rainer Gerhards | 2013-10-21 | 1 | -6/+6 | |
|/ / / | ||||||
* | | | regression fix: global variable access did not work | Rainer Gerhards | 2013-10-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | regression fix: global variables could not be accessed via script | Rainer Gerhards | 2013-10-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | cleanup: remove (no longer?) needed structure member | Rainer Gerhards | 2013-10-21 | 1 | -4/+0 | |
| | | | ||||||
* | | | fix compiler warning | Rainer Gerhards | 2013-10-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | refactor property-based filter decoding | Rainer Gerhards | 2013-10-18 | 2 | -105/+0 | |
| | | | | | | | | | | | | among others, provides *much* better error messages to user | |||||
* | | | slight optimizations: avoid unnecessary writes | Rainer Gerhards | 2013-10-18 | 1 | -2/+4 | |
| | | | | | | | | | | | | but this happens only during config load, so no real gain | |||||
* | | | include invalid property name in property filter error message | Rainer Gerhards | 2013-10-18 | 1 | -4/+4 | |
| | | | ||||||
* | | | remove obsolete function | Rainer Gerhards | 2013-10-18 | 2 | -21/+0 | |
| | | | ||||||
* | | | bugfix: potential misadressing when trimming cstr's | Rainer Gerhards | 2013-10-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | cosmetic: remove compiler warnings | Rainer Gerhards | 2013-10-18 | 1 | -3/+4 | |
| | | | ||||||
* | | | Merge branch 'master-lookup' | Rainer Gerhards | 2013-10-13 | 8 | -1/+449 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: grammar/rainerscript.h runtime/rsyslog.h | |||||
| * | | | reload lookup tables on HUP | Rainer Gerhards | 2013-07-16 | 2 | -2/+53 | |
| | | | | ||||||
| * | | | add base plumbing for (later) dynamic table reload | Rainer Gerhards | 2013-07-16 | 2 | -9/+22 | |
| | | | | | | | | | | | | | | | | | | | | among others, we change some internal interfaces. So far, we only add the necessary locks. More work in later commits. | |||||
| * | | | milestone: basic lookup() functionality is present | Rainer Gerhards | 2013-07-10 | 2 | -8/+54 | |
| | | | | | | | | | | | | | | | | done the naive way, string indzes only | |||||
| * | | | milestone: completed string lookup table load (naive version) | Rainer Gerhards | 2013-07-10 | 3 | -1/+60 | |
| | | | | ||||||
| * | | | milestone: read in lookup table file & json parse it | Rainer Gerhards | 2013-07-09 | 2 | -0/+78 | |
| | | | | ||||||
| * | | | milestone: lookup table ready for actual load (but load not yet done) | Rainer Gerhards | 2013-07-09 | 6 | -9/+60 | |
| | | | | ||||||
| * | | | milestone: add lookup_table stmt to RainerScript | Rainer Gerhards | 2013-07-09 | 4 | -5/+44 | |
| | | | | | | | | | | | | | | | | ... but still does nothing execpt calling the handler. | |||||
| * | | | add lookup table sekeleton to build system | Rainer Gerhards | 2013-07-05 | 4 | -0/+111 | |
| | | | | ||||||
* | | | | change main/ruleset queue defaults to be more enterprise-like | Rainer Gerhards | 2013-10-04 | 2 | -9/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | new defaults are queue.size 100,000 max workers 2, worker activation after 40,000 msgs are queued, batch size 256. These settings are much more useful for enterprises and will not hurt low-end systems that much. This is part of our re-focus on enterprise needs. | |||||
* | | | | omfwd: new action parameter "maxErrorMessages" added | Rainer Gerhards | 2013-09-30 | 1 | -0/+2 | |
| | | | |