Configure feature flags
editConfigure feature flags
editThe Feature Flags section of the filebeat.yml
config file contains
settings in Filebeat that are disabled by default. These may include
experimental features, changes to behaviors within Filebeat, or
settings that could cause a breaking change. For example a
setting that changes information included in events might be inconsistent with
the naming pattern expected in your configured Filebeat output.
To enable any of the settings listed on this page, change the associated enabled
flag from false
to true
.
features: mysetting: enabled: true
Configuration options
editYou can specify the following options in the features
section of the filebeat.yml
config file:
fqdn
editContains configuration for the FQDN reporting feature. When this feature is
enabled, the fully-qualified domain name for the host is reported in the
host.name
field in events produced by Filebeat.
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
For FQDN reporting to work as expected, the hostname of the current host must either:
- Have a CNAME entry defined in DNS.
- Have one of its corresponding IP addresses respond successfully to a reverse DNS lookup.
If neither pre-requisite is satisfied, host.name
continues to report the
hostname of the current host as if the FQDN feature flag were not enabled.
Example configuration:
features: fqdn: enabled: true
enabled
editSet to true
to enable the FQDN reporting feature of Filebeat.
Defaults to false
.