Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix memory leak | Rainer Gerhards | 2012-08-31 | 1 | -4/+6 |
| | |||||
* | add native json-passing to output modules using JSON API | Rainer Gerhards | 2012-08-31 | 3 | -11/+66 |
| | |||||
* | Merge branch 'master' into v7-devel | Rainer Gerhards | 2012-08-31 | 4 | -32/+63 |
|\ | |||||
| * | switch field default to "mandatory" and implement that mode | Rainer Gerhards | 2012-08-30 | 3 | -14/+19 |
| | | |||||
| * | add capability to specify "optional" attribute for list-type templates, too | Rainer Gerhards | 2012-08-29 | 1 | -0/+5 |
| | | |||||
| * | Add support for optional fields | Miloslav Trmač | 2012-08-29 | 3 | -0/+10 |
| | | |||||
| * | default outname for $!<property> is now without $! prefix | Rainer Gerhards | 2012-08-29 | 4 | -31/+42 |
| | | | | | | | | also some type cleanup and simplification | ||||
* | | Merge branch 'master' into v7-devel | Rainer Gerhards | 2012-08-29 | 17 | -85/+700 |
|\| | |||||
| * | milestone: ommongodb supports templates & JSON passing API in place | Rainer Gerhards | 2012-08-29 | 2 | -15/+10 |
| | | |||||
| * | adapted Mirek's changes to new JSON passing mode | Rainer Gerhards | 2012-08-29 | 4 | -50/+27 |
| | | | | | | | | | | now the complete code (JSON passing & ommongodb) could be tested and passed the module tests made during development | ||||
| * | Add template support: parse text, convert to BSON | Miloslav Trmač | 2012-08-29 | 3 | -12/+178 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses a json-c library (http://oss.metaparadigm.com/json-c/). With this, a template > $template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%" and action > & action(type="ommongodb" db="ceelog" collection="local" template="MongoTemplate") will store a record created by > logger -d -u p/dev/log -p mail.info -t mymailer '@cee: {"false": false, "null": null, "true": true, "object": {"a":"a", "b":"b"}, "array": [1, 2, 3], "number1": 3, "number2": 3.14, "string": "String"}' as > { "_id" : ObjectId("5037bbfc97dd811374ce5a00"), "sys" : "kulicka", "false" : "false", "null" : "-", "true" : "true", "object.a" : "a", "object.b" : "b", "array.*" : "3", "number1" : "3", "number2" : "3.140000", "string" : "String" } which is not great, but fair enough given the current design of libee (the information loss manifests by the time of template processing, ommongodb can't fix it). Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
| * | Split MongoDB output into BSON creation and MongoDB interaction | Miloslav Trmač | 2012-08-29 | 1 | -24/+27 |
| | | | | | | | | | | | | This will allow us to add template processing more cleanly. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
| * | implement ACT_JSON_PASSING | Rainer Gerhards | 2012-08-29 | 2 | -12/+56 |
| | | | | | | | | | | NOTE: this is only compile-tested! For real testing, a module using that mode is required. Will be done as next steps. | ||||
| * | Merge branch 'master-jsonc' into master-jsonpassing | Rainer Gerhards | 2012-08-29 | 1 | -2/+5 |
| |\ | |||||
| * | | add OMSR_TPL_AS_JSON mode for output modules (interface only) | Rainer Gerhards | 2012-08-29 | 5 | -5/+19 |
| | | | | | | | | | | | | | | | | | | This patch does NOT contain any implementation, this will happen next. Thanks to Miloslav Trmac, who suggested a similar mode, which I based the JSON idea on. | ||||
| * | | bugfix: imtcp could abort on exit due to invalid free() | Rainer Gerhards | 2012-08-28 | 2 | -1/+3 |
| | | | |||||
| * | | preparing for 6.5.0 releasev6.5.0 | Rainer Gerhards | 2012-08-28 | 2 | -2/+3 |
| | | | |||||
| * | | doc: new template system, some more output modules | Rainer Gerhards | 2012-08-28 | 4 | -21/+434 |
| | | | | | | | | | | | | added base doc for new config language | ||||
* | | | Merge branch 'master' into v7-devel | Rainer Gerhards | 2012-08-27 | 14 | -21/+798 |
|\| | | | | | | | | | | | | | | Conflicts: runtime/msg.c | ||||
| * | | Merge branch 'master-uuid' | Rainer Gerhards | 2012-08-27 | 6 | -4/+89 |
| |\ \ | |||||
| | * | | made new uuid property threadsafe | Rainer Gerhards | 2012-08-26 | 2 | -15/+25 |
| | | | | |||||
| | * | | add uuid property to message object | Jérôme Renard | 2012-08-26 | 5 | -4/+79 |
| | | | | |||||
| * | | | Merge branch 'master-newtemplate' | Rainer Gerhards | 2012-08-27 | 8 | -15/+695 |
| |\ \ \ | | |/ / | |/| | | | | | | | | | | Conflicts: runtime/msg.c | ||||
| | * | | add capability to configure outname for constant (inside template) | Rainer Gerhards | 2012-08-25 | 4 | -22/+15 |
| | | | | | | | | | | | | | | | | also some cleanup | ||||
| | * | | milestone: LIST-type templates support full option set | Rainer Gerhards | 2012-08-25 | 2 | -5/+77 |
| | | | | |||||
| | * | | milestone: LIST-type template now only missing regex support | Rainer Gerhards | 2012-08-25 | 1 | -0/+41 |
| | | | | |||||
| | * | | milestone: LIST-type templates work, but no all options yet present | Rainer Gerhards | 2012-08-25 | 4 | -13/+291 |
| | | | | |||||
| | * | | milestone: base plumbing for LIST-type templates mostly in place | Rainer Gerhards | 2012-08-25 | 5 | -18/+106 |
| | | | | |||||
| | * | | Merge branch 'master' into master-newtemplate | Rainer Gerhards | 2012-08-25 | 23 | -109/+238 |
| | |\ \ | |||||
| | * | | | v6 config/templates: legacy types are now supported via template() | Rainer Gerhards | 2012-08-25 | 3 | -3/+180 |
| | | | | | |||||
| | * | | | add base plumbing for template() config object to grammar | Rainer Gerhards | 2012-08-24 | 4 | -2/+33 |
| | | | | | |||||
| * | | | | Merge branch 'v6-stable' | Rainer Gerhards | 2012-08-26 | 2 | -1/+13 |
| |\ \ \ \ | |||||
| | * | | | | doc: add incompatible patch info to ChangeLog | Rainer Gerhards | 2012-08-26 | 1 | -0/+12 |
| | | | | | | |||||
| | * | | | | INCOMPATIBLE: Return {} for missing $!all-json | Miloslav Trmač | 2012-08-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | %$!all-json% will return a {}-wrapped object if there are are any events, or when there is an attached (empty) pMsg->event, but an empty string if nothing is attached. Let it return an empty object "{}" in that case for consistency. In particular, this allows $template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%" to always result in a valid JSON. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
| | * | | | | INCOMPATIBLE: use :, not =, as separator for jsonf | Miloslav Trmač | 2012-08-26 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JSON fields are "name":value, not "name"=value. Therefore change the jsonf flag to use a colon. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
| | * | | | | Remove a no-effect ", NULL"; | Miloslav Trmač | 2012-08-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It does nothing, at is just confusing. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
| | * | | | | Fix printing of some template options | Miloslav Trmač | 2012-08-26 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
| | * | | | | cleanup: remove left-over commented-out code | Rainer Gerhards | 2012-08-25 | 1 | -10/+0 |
| | | | | | | |||||
| * | | | | | INCOMPATIBLE: use :, not =, as separator for jsonf | Miloslav Trmač | 2012-08-26 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JSON fields are "name":value, not "name"=value. Therefore change the jsonf flag to use a colon. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | | | | | | milestone: libee event removed from rsyslog core. Now pure JSON. | Rainer Gerhards | 2012-08-27 | 2 | -62/+13 |
| | | | | | | |||||
* | | | | | | imuxsock: changed to use new JSON based system | Rainer Gerhards | 2012-08-27 | 1 | -48/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | Warning: only minimal testing done so far | ||||
* | | | | | | minor cleanup | Rainer Gerhards | 2012-08-27 | 1 | -14/+0 |
| | | | | | | |||||
* | | | | | | mmnormalize: switched to new JSON system | Rainer Gerhards | 2012-08-27 | 1 | -12/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | Warning: so far untested | ||||
* | | | | | | mmauditparse: change to support new json-based system | Rainer Gerhards | 2012-08-27 | 1 | -53/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | Warning: received only extremely minimal testing | ||||
* | | | | | | milestone: first PoC for hierarchical data inside msg | Rainer Gerhards | 2012-08-27 | 5 | -35/+232 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | add json-c to build system | Rainer Gerhards | 2012-08-26 | 1 | -2/+5 |
|/ / / / | |||||
* | | | | Remove a no-effect ", NULL"; | Miloslav Trmač | 2012-08-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | It does nothing, at is just confusing. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | | | | Silence compiler warnings about unused parameters. | Miloslav Trmač | 2012-08-26 | 1 | -0/+3 |
| |_|/ |/| | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | | | Merge branch 'v6-stable' | Rainer Gerhards | 2012-08-25 | 23 | -110/+239 |
|\| | | |/ |/| | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/ruleset.c tools/syslogd.c | ||||
| * | Merge branch 'v5-stable' into v6-stable | Rainer Gerhards | 2012-08-25 | 21 | -105/+193 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html runtime/ruleset.c template.h threads.c tools/syslogd.c |