Send data from Kubernetes Cluster to Axiom
This step-by-step guide helps you ingest logs from your Kubernetes cluster into Axiom using the DaemonSet configuration.
Axiom makes it easy to collect, analyze, and monitor logs from your Kubernetes clusters. Integrate popular tools like Filebeat, Vector, or Fluent Bit with Axiom to send your cluster logs.
Send Kubernetes Cluster logs to Axiom using Filebeat
Ingest logs from your Kubernetes cluster into Axiom using Filebeat.
The following is an example of a DaemonSet configuration to ingest your data logs into Axiom.
Configuration
Configure environment
In the configuration above, configure your environment variables:
Replace the following:
AXIOM_HOST
is the URL of the Axiom API. Enterhttps://api.axiom.co:443
.AXIOM_DATASET_NAME
is your dataset name.AXIOM_API_TOKEN
is your Axiom API token. To create an API key, see Access Settings.
After editing your values, apply the changes to your cluster using kubectl apply -f daemonset.yaml
Send Kubernetes Cluster logs to Axiom using Vector
Collect logs from your Kubernetes cluster and send them directly to Axiom using the Vector daemonset.
Configuration
Configure environment
In the above configuration, configure your environment variables:
Replace the following:
AXIOM_HOST
is the URL of the Axiom API. Enterhttps://api.axiom.co:443
.AXIOM_DATASET_NAME
is your dataset name.AXIOM_API_TOKEN
is your Axiom API token. To create an API key, see Access Settings.
After editing your values, apply the changes to your cluster using kubectl apply -f daemonset.yaml
Send Kubernetes Cluster logs to Axiom using Fluent Bit
Collect logs from your Kubernetes cluster and send them directly to Axiom using Fluent Bit.
Configuration
Configure environment
In the above configuration, configure your environment variables:
Replace the following:
AXIOM_DATASET_NAME
is your dataset name.AXIOM_API_TOKEN
is your Axiom API token. To create an API key, see Access Settings.
After editing your values, apply the changes to your cluster using kubectl apply -f daemonset.yaml