I have Vector configured to collect logs from other containers using a docker_logs
source. But to make it work I need to map docker.sock
inside container. It’s easy with docker-compose but I’m now trying to split that docker-compose into separate containers to deploy to Fly.
I checked fly-log-shipper
repo but I don’t understand what should be the source of logs in vector config. According to description, log-shipper
will subscribe to a log stream of your organisation’s logs and ship it to various providers
Does it mean I just need to log something from one of my apps directly into stdout
and it will automatically be caught by the log-shipper
? If so, is it [sources.nats]
that performs such a subscription?