Output Configuration
Outputs can be figured using a global scope or within a namespace scope. Global allows one instance of an output to be run. Namespace allows for multiple instances of an output to be run.
#
Global ConfigurationGlobal configuration only allows you to create a single instance of an output.
For example:
The collector sends data to a single instance of an output.
#
Namespace ConfigurationNamespaces allow multiple instances of an output for flows to be sent.
To define a namespace, include the name of your namespace after EF_FLOW_
.
For example:
To namespace a configuration defined as EF_FLOW_OUTPUT_ELASTICSEARCH_ENABLE
. Add your namespace between EF_FLOW_
and _OUTPUT_ELASTICSEARCH_ENABLE
. As shown below:
The collector will send data to three(3) separate instances of an output.
note
The collector must be configured with a global OR a namespace configuration. Both cannot be used simultaneously.
For example:
When an elasticsearch output is configured with both a global and a namespace configuration.
The flow collector will fail to start.