Set up logging settings for filebeat as environment variables

I've been searching for documentation regarding passing environmental variables to filebeat in order to set up logging, but I wasn't able to find out.
Can anyone help me in this respect?

I've only been able to find this link, which configures the variables inside the yml:

I'm guessing this isn't the only way to do it, right?

Thanks!

This is the recommended way. You can also use command line options, but I'm not quite sure if there is any interface for environment variables.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.