I am setting up the Elastic Filebeat beat for the first time. I have followed the guide here, and have got the Apache2 filebeat module up and running, it's connected to my Elastic and the dashboards have arrived in Kibana.
Currently it's using the default path to read the Apache log files, but I want to point it to a different directory.
There is a setting var.paths
documented here for this purpose, but I can't see where this setting is applied in the configuration for Filebeat.
I've looked through the Yaml files in the installation and can see the Apache2 module default config, but it doesn't look like I should modify that.
I'm guessing I should add something to the filebeat.yml, but there doesn't seem to be a placeholder for "modules.apache" or similar.
I'm trialling on MacOSX, will be deploying on Ubuntu, but I don't believe this to be a platform-specific question.