Adding new tag to the log event.
Configuration example:
<ElasticFilters>
<Add>
<Key>TagName</Key>
<Value>TagValue</Value>
<!-- optional -->
<Overwrite>True</Overwrite>
</Add>
</ElasticFilters>
The name of the tag.
You can use smart formatting here.
The value.
You can use smart formatting here.
Whether to overite or append if this tag already exists.
For example if you have tag with the name Address
and value first
and you are using the Add filter to add Address
with value of second
.
If Overwrite
is true - The original address will be replaced with second
.
If Overwrite
is false - The tag Address
will be replace by array with the values ['first', 'second']
.