Dockerized Logstash and netflow module install issue

Was a problem with logstash being on docker bridge network by default. I had to move it to host (to not overwrite the netflow source IP).

services:
logstash:
network_mode: host
image: "docker.elastic.co/logstash/logstash:{
hostname: "{{ansible_hostname}}"
container_name: logstash-netflow

There is a big thread on this: