Overview

Send data from Fluent Bit to Axiom

Prerequisites#

Configure Fluent Bit#

  1. Set up the Fluent Bit configuration file based on the Fluent Bit documentation.

  2. In the Fluent Bit configuration file, use the HTTP output plugin with the following configuration. For more information on the plugin, see the Fluent Bit documentation.

    [OUTPUT]
        Name               http
        Match              *
        Host               AXIOM_DOMAIN
        Port               443
        URI                /v1/ingest/DATASET_NAME
        Header             Authorization Bearer API_TOKEN
        Compress           gzip
        Format             json
        JSON_Date_Key      _time
        JSON_Date_Format   iso8601
        TLS                On

Replace AXIOM_DOMAIN with the base domain of your edge deployment. For more information, see Edge deployments.

Replace API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.

Replace DATASET_NAME with the name of the Axiom dataset where you send your data.

Updated

Was this page helpful?