Is it possible to use custom fields within module config file? What is the appropriate hierarchy?
For example in apache2 module
- module: apache2
access:
enabled: true
var.paths: ["/var/log/apache2/access.log", "/var/log/apache2/other_vhosts_access.log"]
fields:
token: <my-token-here>
type: apache_access
I don't have any issues using "fields" dictionary within inputs but I'm not seeing the custom fields added when using "fields" inside modules.d/apache2.yml