Does anyone know how to use filebeat.autodiscover with the nginx module?
I have filebeat.autodiscover working with nginx, e.g.
filebeat.autodiscover:
providers:
- type: docker
templates:
- condition:
contains.docker.container.image: "nginx"
config:
- type: docker
containers.ids:
- "${data.docker.container.id}"
But if I really want to use the nginx module... e.g.
filebeat.autodiscover:
providers:
- type: docker
templates:
- condition:
contains.docker.container.image: "nginx"
config:
- module: nginx
access:
input:
type: docker
containers.ids:
- "${data.docker.container.id}"
Should I be able to do this?