1.7.1 | docker pull icr.io/ibmz/fluent-bit@sha256:ad3db2140a00451fad2b946e5fbd6a57a4f67c07633aebfaa11b4b2686a6a50c | Vulnerability Report | 09-13-2023 |
Version | Pull String | Security (IBM Cloud) | Created |
---|---|---|---|
24224
Run a Fluent Bit instance that will receive messages over TCP port 24224 through the Forward protocol, and send the messages to the STDOUT interface in JSON format every second:
docker run -i -p 24224:24224 icr.io/ibmz/fluent-bit:1.7.1 /fluent-bit/bin/fluent-bit -i forward -o stdout -p format=json_lines -f 1
Now run a separate container that will send a test message. This time the Docker container will use the Fluent Forward Protocol as the logging driver:
docker run --log-driver=fluentd -t icr.io/ibmz/ubuntu:22.04 echo "Testing a log message"
You will see the stdout print on the fluent-bit container!