Fluent-bit Docker Events Plugin

How to Integrate Fluent-bit Docker Events Plugin with Apica Ascent

1. Introduction

This guide explains how to send Docker events to Apica Ascent with Fluent-bit, and how to view them.

2. Configure the Docker Event Plugin in Fluent-bit

Update your Fluent-bit.conf with an input and filter for Docker Event Plugin:

[INPUT]
    Name docker_events
    Tag  docker_events
[FILTER]
    Name   modify
    Match  docker_events
    Add    namespace Fluent-bit:Docker
    Add    app_name Events
 

Restart Fluent-bit with systemctl restart fluent-bit and check the status with systemctl status fluent-bit to verify that it’s running correctly.

Helpful Links:

3. Verify Logs in Apica Ascent

1. Log in to Apica Ascent

2. Navigate to Explore → Logs & Insights

3. Look for the namespace and application name specified in the config file

Example:

4. Example logs

message :

StructuredData :

5. Troubleshooting

If you don’t see any docker event logs in Apica Ascent you can verify if your docker generates any events with the following command on your server:

And in another terminal run the following commands:

Last updated

Was this helpful?