Install Filebeat on a different folder

Hi,
Is there any way to put and install Filebeat in another folder other than "C:\Program Files\Filebeat" on a Windows machine?

You can install it anywhere you like.

After I install it at another location I get an error when I start the service.

Did you rerun install-service-filebeat.ps1 after you relocated the files? If yes, does the service's settings point to the right executable?

Figured out the problem.
I used '' instead of '/' in the path of "certificate_authorities".

use single quotes for pathes, then \ will not be interpreted as escape character in yaml. That is

path: C:\\MyDir and
path: 'C:\MyDir' and
path: C:/MyDir

are pretty much equivalent.

This topic was automatically closed after 21 days. New replies are no longer allowed.