Is it possible to have two config files for each beat. One residing on a network share that hands out the base config to all agents and then a second that is customized for each machine?
The config file I am using for winlogbeat is shown below:
Is it possible to split this up so everything except name and tags is in a config file on a network share and then each machine gets a config file that only specifies those two settings? Surely there is a way to centrally administer
So what you're saying is, change the beat's service install powershell script to use a network path for the -c option and then that file would use env variables that are configured on the host machines? The page appears to use examples designed for Linux, does this also work for Windows machines. I.E. if a Windows variable is ES_HOSTNAME with a value of Computer I would configure the beats.yml to name: ${ES_HOSTNAME} which would produce events in ElasticSearch with the field value being Computer?
Service fails to start with any of the above. Having issues understanding exactly how the \ character is used by Windows Service Manager. I thought it was used as an escape character to allow literal \ in the path but that doesn't seem to be the case.
Well....of course it works from a local folder, that's default functionality. I want to deploy from a network location so that instead of managing 100 different config files, I only manage one.
Yes, what I meant is that you can script a copy of the file before launching Winlogbeat, that way you ensure you always have a fresh copy from the network share.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.