Open getkub opened 4 years ago
Pinging @elastic/integrations-services (Team:Services)
Hi @getkub, we discussed this within the team today. Modularizing output configurations in the same way as modules or Filebeat inputs is not something we plan to add. This goes back to the idea that while there can be multiple modules and inputs, there can be only one output.
Beats, however, do allow users to specify multiple configuration files via the CLI. Perhaps you could use this to define the output configuration separately in it's own configuration file? For example:
/filebeat -c filebeat.main.yml -c filebeat.out.yml
Hi @getkub, we discussed this within the team today. Modularizing output configurations in the same way as modules or Filebeat inputs is not something we plan to add. This goes back to the idea that while there can be multiple modules and inputs, there can be only one output.
Beats, however, do allow users to specify multiple configuration files via the CLI. Perhaps you could use this to define the output configuration separately in it's own configuration file? For example:
/filebeat -c filebeat.main.yml -c filebeat.out.yml
Thanks for the update. I will let you know a scenario in Enterprise organisations where it is required. (I come from large Splunk estate and hence we and many customers use this model). So you want to write/automate modular apps/configurations and needs to push out certain configurations to certain clients.
For example We need configurations to collect
In this case, what we do is we create "modular apps" for web-servers
, os_logs
, payment-servers
and based on the pattern of what server, we send combination of such "modular apps" and output it to relevant site/cluster or S3 etc. So the configurations are all in individual files (i.e modular) and depending on the client where it goes, all are loaded based on pattern. This way automation and isolation of configurations are achieved at same time.
This is lacking when you want to embed all the outputs into single yml (or have to automate into single yml file which makes it confusing)
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
The current refusal to implement is disappointing. For example, for a config that only differs in a few variables (say between dev, staging, and prod), we right now have to duplicate the whole file. Most other software allows includes to have the main config and only different bits in other includes (apache, nginx, mysql come to mind, for example).
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
We still need this feature in filebeat or elastic agents, so the modules can be configured externally
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
Bump.
Describe the enhancement: We are trying to modularize all of the configurations as a standard. As per the https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration-reloading.html link . I couldn't find a precise way of doing this for outputs for filebeat, so my guess work was to
And created an
ouputs.d
directory and put amy_ouputs.yml
file inoutputs.d
. But this doesn't work. As per community,Describe a specific use case for the enhancement or feature: As per the details in the community forum, https://discuss.elastic.co/t/how-to-load-external-configuration-file/228757 an enhancement request would be truly useful to modularize the config files to send to various destinations.