Install Filebeat on a different folder


#1

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


(Magnus Bäck) #2

You can install it anywhere you like.


#3

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


(Magnus Bäck) #4

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


#5

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


(Steffen Siering) #6

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.


(system) #7

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