summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2012-08-11 09:52:53 +0200
committerMiloslav Trmač <mitr@redhat.com>2012-08-28 10:26:42 +0200
commit02ea1d97657ed81797e02ef80c7f89195cf82a27 (patch)
treeec8743360626300e365e8c120e2bdfb7048ad695 /doc
parentf2068e080718f28b98034233ea08b50f3d2ab220 (diff)
downloadrsyslog-ommongodb.tar.gz
rsyslog-ommongodb.tar.xz
rsyslog-ommongodb.zip
Add support for optional JSON fieldsHEADommongodb
These fields are only relevant in field templates (i.e. mongodb): a field for a non-existent CEE property is not created (instead of being set to an empty string). Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/property_replacer.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/property_replacer.html b/doc/property_replacer.html
index 86a07474..367603b7 100644
--- a/doc/property_replacer.html
+++ b/doc/property_replacer.html
@@ -486,6 +486,10 @@ Useful for secure pathname generation (with dynafiles).
Useful for secure pathname generation (with dynafiles).
</td>
</tr>
+<tr>
+<td><b>optional-field</b></td>
+<td>In templates that are used for building field lists (in particular, ommongodb), completely remove this field if the corresponding property is not present. Currently implemented only for the <b>$!&lt;name&gt;</b> properties.</td>
+</tr>
</tbody>
</table>
<p>To use multiple options, simply place them one after each other with a comma delmimiting