You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The publisher_pipeline.disable_host option is documented as:
publisher_pipeline.disable_host
By default, all events contain host.name. This option can be set to true to disable the addition of this field to all events. The default value is false.
It would be good to remove the host.name and publisher_pipeline.disable_host: true logic and documentation, and document the host.* default processor behavior.
An integration that demonstrates the effect of these settings can be generated with this script.
The text was updated successfully, but these errors were encountered:
To add to this, I've observed another strange behavior.
While true that adding forwarded to the list of tags will prevent host.* fields from being added, if you add an append processor that adds fields to tags, host.* fields will be added regardless of if forwarded is part of the tag list.
Scenarios tested (this was done using a Custom TCP integration):
Default TCP integration settings: (host.* fields added, this is expected)
Added forwarded tag using TCP integration settings: (NO host.* fields added, this is expected)
Added append processor that adds an unrelated tag, the forwarded tag is still present from before. (host.* fields added, this is NOT expected)
With that final test case, here is the list of tags in the indexed document:
[cisco_ise, forwarded]
Here is the rendered configuration for the stream from the agent policy:
The
publisher_pipeline.disable_host
option is documented as:The setting is applied in
libbeat/publisher/processing/default.go
.However, with
publisher_pipeline.disable_host: true
set,host.*
fields will still be added, unless theforwarded
tag is also set.I suspect this is because there is a separate default processor to add host metadata when tags don't contain
forwarded
.The documentation above, and some logic, refers only to
host.name
, but without theforwarded
tag a range of fields will be set. For example:It would be good to remove the
host.name
andpublisher_pipeline.disable_host: true
logic and documentation, and document thehost.*
default processor behavior.An integration that demonstrates the effect of these settings can be generated with this script.
The text was updated successfully, but these errors were encountered: