LogDNA

    The Fluent Bit output plugin allows you to send your log or events to a LogDNA compliant service like:

    Before to get started with the plugin configuration, make sure to obtain the proper account to get access to the service. You can start with a free trial in the following link:

    One of the features of Fluent Bit + LogDNA integration is the ability to auto enrich each record with further context.

    When the plugin process each record (or log), it tries to lookup for specific key names that might contain specific context for the record in question, the following table describe the keys and the discovery logic:

    Key Description
    level If the record contains a key called level or severity, it will populate the context level key with that value. If not found, the context key is not set.
    file if the record contains a key called , it will populate the context file with the value found, otherwise If the plugin configuration provided a file property, that value will be used instead (see table above).
    app If the record contains a key called app, it will populate the context app with the value found, otherwise it will use the value set for in the configuration property (see table above).
    meta if the record contains a key called meta, it will populate the context meta with the value found.

    The following configuration example, will emit a dummy example record and ingest it on LogDNA. Copy and paste the following content in a file called logdna.conf:

    Fluent Bit output:

    Your record will be available and visible in your LogDNA dashboard after a few seconds.

    In your LogDNA dashboard, go to the top filters and mark the Tags aa and , then you will be able to see your records as the example below: