Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ommongodb: minimal support for v8 omod interface | Rainer Gerhards | 2013-11-13 | 1 | -3/+22 |
| | | | | single instance, untested | ||||
* | Merge branch 'master' into master-var-refactor | Rainer Gerhards | 2013-10-26 | 1 | -1/+4 |
|\ | |||||
| * | Make use of int64 json numbers, if available | Pavel Levshin | 2013-10-26 | 1 | -1/+4 |
| | | |||||
* | | refactor: use common code for message property description processing | Rainer Gerhards | 2013-10-22 | 1 | -6/+12 |
| | | | | | | | | in all cases except script var access -- this comes next... | ||||
* | | work a bit toward string handling unification | Rainer Gerhards | 2013-10-21 | 1 | -5/+5 |
|/ | |||||
* | bugfix: some more build problems with newer json-c versions | Rainer Gerhards | 2013-09-04 | 1 | -1/+1 |
| | | | | Thanks to Michael Biebl for mentioning the problem. | ||||
* | make rsyslog use the new json-c pkgconfig file if available | hwoarang | 2013-09-03 | 1 | -1/+1 |
| | |||||
* | bugfix: invalid rsyslog-internal macro API use | Rainer Gerhards | 2012-11-01 | 1 | -1/+1 |
| | | | | | This had no bad effect, because the macro did the same as the one that should have been used. | ||||
* | Merge branch 'v7-stable' | Rainer Gerhards | 2012-10-24 | 1 | -13/+18 |
|\ | |||||
| * | ommongodb rate-limits error messages to prevent spamming the syslog | Rainer Gerhards | 2012-10-24 | 1 | -13/+18 |
| | | | | | | | | closes (for v7.2): http://bugzilla.adiscon.com/show_bug.cgi?id=366 | ||||
* | | refactor tpl processor so that date is queried once per template | Rainer Gerhards | 2012-10-10 | 1 | -5/+5 |
|/ | | | | Things like $YEAR, $MONTH required a time() call each. | ||||
* | Handle JSON value "null" instead of crashing | Miloslav Trmač | 2012-09-24 | 1 | -1/+3 |
| | | | | | | | Future json-c versions will handle this transparently, for now we have to do it manually. Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | new ruleengine: implement template type "subtree" | Rainer Gerhards | 2012-09-18 | 1 | -5/+5 |
| | |||||
* | adapted Mirek's changes to new JSON passing mode | Rainer Gerhards | 2012-08-29 | 1 | -45/+24 |
| | | | | | 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 | 1 | -6/+173 |
| | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | 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> | ||||
* | ommongodb: extended default schema | Rainer Gerhards | 2012-03-30 | 1 | -6/+28 |
| | | | | includes more syslog-specific fields | ||||
* | ommongodb: now writes a real timestamp into mongo | Rainer Gerhards | 2012-03-30 | 1 | -3/+26 |
| | |||||
* | ommongodb: working on error reporting | Rainer Gerhards | 2012-03-20 | 1 | -5/+10 |
| | |||||
* | ommongodb: basic error reporting | Rainer Gerhards | 2012-03-20 | 1 | -3/+21 |
| | |||||
* | ommongodb: support for lumberjack base schema | Rainer Gerhards | 2012-03-19 | 1 | -16/+39 |
| | | | | ... as far as I currently see the mapping ;) | ||||
* | ommongodb: moved over to MSG based interface | Rainer Gerhards | 2012-03-19 | 1 | -20/+45 |
| | | | | | | | Access to the message permits us to do "the right thing" when it comes to populating the lumberjack schema. Support for custom templates will be added as soon as the template system is ready to properly support name/value passing. | ||||
* | ommongodb: cleanup | Rainer Gerhards | 2012-03-18 | 1 | -47/+5 |
| | |||||
* | ommongodb: moved field set a bit towards CEE | Brian Knox | 2012-03-18 | 1 | -5/+6 |
| | |||||
* | ommongodb: honor db and collection config parameters | Rainer Gerhards | 2012-03-17 | 1 | -17/+28 |
| | |||||
* | ommongodb: support for v6 config system added | Rainer Gerhards | 2012-03-16 | 1 | -34/+120 |
| | |||||
* | ommongodb: milestone:refactored to use libmongo-client | Rainer Gerhards | 2012-03-12 | 1 | -76/+51 |
| | | | | which is waaaaaaay better than the 10gen client driver | ||||
* | ommongodb: made ommongodb compile on current rsyslog version | Rainer Gerhards | 2012-03-07 | 1 | -24/+3 |
| | |||||
* | ommongodb: adding ASL 2.0 license header | Rainer Gerhards | 2012-03-07 | 1 | -0/+21 |
| | | | | | after clarifying and receiving permission to do so with original contributor Victor Pereira (email exchange on 2011-02-22) | ||||
* | milestone: added module config names | Rainer Gerhards | 2011-07-20 | 1 | -1/+2 |
| | |||||
* | renaming conf.* wasn't a good idea -- undoing | Rainer Gerhards | 2011-04-19 | 1 | -2/+2 |
| | | | | | too many dependencies, things get cluttered (and merging probably gets problematic). Now new config will be "conf2". | ||||
* | renamed conf.c to legacyconf.c to make room for new config system | Rainer Gerhards | 2011-04-19 | 1 | -2/+2 |
| | |||||
* | experimental support for monogodb added | Victor Pereira | 2011-01-31 | 1 | -0/+280 |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com> |