We were using beat prior to elastic agent. Now our requirement is Elastic agent to provision on dev and prod instances.
I have gone thru the documentation process of how to setup and configure Elastic agent on remote host but that pop up few queries in my mind which are referring below.
- Do we have to use multiple policies for each and every environment or can we have single policy which can used as common and uses variable.
- There is an option called "Namespace" which we see during configuiring agent policy. Will that work or not?
- Can we use modules which were being used by metricbeats. Can we use the same modules by elastic agent, if yes, then how?
- Considerations on how to implement variables like we do now (eg. fields.env, any tags, etc)
- Consideration of using different policies for other teams with different needs (eg. filebeat configured for logs in different locations, etc)
Any suggestion will be helpful.