<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rsyslog.git/plugins/ommongodb, branch master</title>
<subtitle>rsyslog development for Lumberjack - various unofficial and potentially rebased branches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/'/>
<entry>
<title>refactor tpl processor so that date is queried once per template</title>
<updated>2012-10-10T17:20:19+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2012-10-10T17:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=9b4a225c5993f96466ac568933c6ad9b819c235b'/>
<id>9b4a225c5993f96466ac568933c6ad9b819c235b</id>
<content type='text'>
Things like $YEAR, $MONTH required a time() call each.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Things like $YEAR, $MONTH required a time() call each.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle JSON value "null" instead of crashing</title>
<updated>2012-09-24T12:57:54+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-09-03T15:52:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=e273e0ef19f374baf35111584b65e619e3dbcaf8'/>
<id>e273e0ef19f374baf35111584b65e619e3dbcaf8</id>
<content type='text'>
Future json-c versions will handle this transparently, for now we have
to do it manually.

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Future json-c versions will handle this transparently, for now we have
to do it manually.

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>new ruleengine: implement template type "subtree"</title>
<updated>2012-09-18T09:32:45+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2012-09-18T09:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=037eaa0d69e1a65373baba93bb69476345c34e10'/>
<id>037eaa0d69e1a65373baba93bb69476345c34e10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>milestone: ommongodb supports templates &amp; JSON passing API in place</title>
<updated>2012-08-29T12:10:18+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2012-08-29T12:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=a5e51ced933cb73bd3755bffb81aceceb3f0f953'/>
<id>a5e51ced933cb73bd3755bffb81aceceb3f0f953</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>adapted Mirek's changes to new JSON passing mode</title>
<updated>2012-08-29T12:05:06+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2012-08-29T12:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=081f366c576834554823c017ba950d0b48c687d7'/>
<id>081f366c576834554823c017ba950d0b48c687d7</id>
<content type='text'>
now the complete code (JSON passing &amp; ommongodb) could be tested
and passed the module tests made during development
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
now the complete code (JSON passing &amp; ommongodb) could be tested
and passed the module tests made during development
</pre>
</div>
</content>
</entry>
<entry>
<title>Add template support: parse text, convert to BSON</title>
<updated>2012-08-29T10:39:30+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-08-24T17:49:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=9bd45fcb72e0e3a2abd89fc7fe0d068c0d68e1de'/>
<id>9bd45fcb72e0e3a2abd89fc7fe0d068c0d68e1de</id>
<content type='text'>
Uses a json-c library (http://oss.metaparadigm.com/json-c/).

With this, a template
&gt; $template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%"
and action
&gt; &amp;    action(type="ommongodb" db="ceelog" collection="local" template="MongoTemplate")

will store a record created by
&gt; 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
&gt; { "_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č &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Uses a json-c library (http://oss.metaparadigm.com/json-c/).

With this, a template
&gt; $template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%"
and action
&gt; &amp;    action(type="ommongodb" db="ceelog" collection="local" template="MongoTemplate")

will store a record created by
&gt; 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
&gt; { "_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č &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Split MongoDB output into BSON creation and MongoDB interaction</title>
<updated>2012-08-29T10:36:51+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-08-24T16:04:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=1e09e2729e737e4512aa2205d72c537cce6d8cd6'/>
<id>1e09e2729e737e4512aa2205d72c537cce6d8cd6</id>
<content type='text'>
This will allow us to add template processing more cleanly.

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to add template processing more cleanly.

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a no-effect ", NULL";</title>
<updated>2012-08-26T08:14:50+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-08-09T15:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=14875be702b0c90c098888cba689190cec031646'/>
<id>14875be702b0c90c098888cba689190cec031646</id>
<content type='text'>
It does nothing, at is just confusing.

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It does nothing, at is just confusing.

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence compiler warnings about unused parameters.</title>
<updated>2012-08-26T08:14:28+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-08-24T15:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=7d58175dbe89502352a044c0d131aa4c5e2b3f37'/>
<id>7d58175dbe89502352a044c0d131aa4c5e2b3f37</id>
<content type='text'>
Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obsolete ommongodb build instructions</title>
<updated>2012-06-05T17:00:55+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-06-05T14:56:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=f8ab9d166648f2b3af11bc3523e192bb3cd79219'/>
<id>f8ab9d166648f2b3af11bc3523e192bb3cd79219</id>
<content type='text'>
The plugin now uses libmongo-client (which is configured using
pkg-config) instead of the 10gen client, so the instructions to copy
client source code no longer apply.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The plugin now uses libmongo-client (which is configured using
pkg-config) instead of the 10gen client, so the instructions to copy
client source code no longer apply.
</pre>
</div>
</content>
</entry>
</feed>
