Did something change with paths? It used to load from c:\programdata\elastic\beats\winlogbeat\winlogbeat.yml which is easy to target using automation. Now it looks like I'm going to have to adjust the automation to not just install the latest version, but detect which version is installed, then drop the config file in a location that includes the version number and will cause the next upgrade to not have the proper config file.
I've gotta be missing something...but I didn't see anything in the changelogs about it.
You can use sc.exe to override the service cmdline to point back to programdata if you need to but the most secure configuration is to load the configuration from program files.
We are exploring ways to customize this using MSI install arguments but we do not have an ETA for that.
Thanks for the pointer @strawgate. I thought I was losing it.
I haven't done much with permissions with c:\programdata, but several tools we use store their data there and aren't accessible via normal user accounts (i.e. only administrators, domain admins, and SYSTEM can access some of the subfolders).
Wherever the config file ultimately lands, I would love to see it be an easily predictable path like it was under earlier versions, not "first figure out which version you have installed, then you can figure out the path".
I'll have to double check what version we expect the installdir support to land in (I think 8.13) but that will allow you to place the installation directory on disk, using an MSI cmdline flag, without the version in the path via something like msiexec /i "<full path to msi file>" \qn INSTALLDIR="C:\Program Files\Elastic\Filebeat" or an mst (MSI transform).
I suspect we'll have more info to share about the programdata change in the near future.
I'm hoping we can also allow customizing the config dir path via an MSI parameter too but no ETA on that yet.
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.