Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Create an API token in Axiom with permissions to update the dataset you have created.
Configure Fluent Bit
- Set up the Fluent Bit configuration file based on the Fluent Bit documentation.
-
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.
- Replace
AXIOM_URL
withapi.axiom.co
if your organization uses the US region, and withapi.eu.axiom.co
if your organization uses the EU region. For more information, see Regions.
- 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 want to send data.
- Replace