OpenObserve and NetFlow
I recently started to use OpenObserve to collect logs from my home lab and I wanted to add NetFlow. The documentation is good but unfortunately, running the binary directly from Docker Compose did not work. I had to package it with a trivial bash script. Here is how I fixed it. The Dockerfile to build the container image: FROM debian:12 ADD --chown=root:root --chmod=755 https://github.com/openobserve/goflow2/releases/download/v100.0.1/goflow2-100.0.1-linux-x86_64 /goflow2 ADD --chown=root:root --chmod=755 ./run.sh /run.sh RUN apt-get update && apt-get upgrade -y && rm -vrf -- /var/cache/apt ENTRYPOINT /run.sh EXPOSE 2055/udp EXPOSE 6343/udp The run.sh to start the collector: ...