cURL.
Replace
AXIOM_DOMAIN with api.axiom.co if your organization uses the US region, and with api.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 send your data.Popular methods
| Method | Description |
|---|---|
| Rest API | Direct HTTP API for sending logs and events |
| OpenTelemetry | Industry-standard observability framework |
| Vector | High-performance observability data pipeline |
| Cribl | Route and transform data with Cribl Stream |
| Fluent Bit | Fast and lightweight log processor |
| Fluentd | Open source data collector with plugin ecosystem |
| JavaScript | Browser and Node.js logging |
Other methods
| Method | Description |
|---|---|
| .NET | Send logs from .NET applications |
| Apache Log4j | Java logging with Log4j integration |
| Apex | Structured logging for Go |
| Cloudflare Workers | Edge computing with Workers and OpenTelemetry |
| Convex | Stream data from Convex applications |
| Elastic Beats | Lightweight data shippers from Elastic |
| Elasticsearch Bulk API | Compatible endpoint for Elasticsearch clients |
| Go | Native Go logging integration |
| Heroku Log Drains | Stream logs directly from Heroku apps |
| Honeycomb | Compatible endpoint for Honeycomb clients |
| Kubernetes | Collect logs and metrics from K8s clusters |
| Laravel | PHP Laravel framework integration |
| Logrus | Structured logging for Go with Logrus |
| Logstash | Server-side data processing pipeline |
| Loki | Compatible endpoint for Grafana Loki clients |
| Loki Multiplexer | Forward Loki data to multiple destinations |
| Next.js | Full-stack React framework logging |
| Pino | Fast Node.js logger integration |
| Python | Python logging with standard library |
| React | Client-side React app logging |
| Render | Stream logs from Render.com services |
| Ruby on Rails | Rails app logging |
| Rust | High-performance Rust logging |
| Secure Syslog | TLS-encrypted syslog forwarding |
| Serverless | Best practices for serverless environments |
| Splunk | Compatible endpoint for Splunk forwarders |
| Syslog Proxy | Forward syslog data with transformation |
| Tremor | Event processing system for complex workflows |
| Winston | Popular Node.js logging library |
| Zap | Uber’s fast, structured Go logger |
Amazon Web Services (AWS)
Axiom offers deep integration with the AWS ecosystem.| Method | Description |
|---|---|
| Amazon CloudFront | CDN access logs and real-time logs |
| Amazon CloudWatch | Stream logs from CloudWatch Logs |
| Amazon Kinesis Data Firehose | Real-time streaming with Firehose |
| Amazon S3 | Process logs stored in S3 buckets |
| AWS FireLens | Container log routing for ECS/Fargate |
| AWS IoT Rules | Route IoT device data and telemetry |
| AWS Lambda | Serverless function logs and traces |
| AWS Lambda .NET | .NET-specific Lambda integration |
Example configurations
The following examples show how to send data using OpenTelemetry from various languages and frameworks.| Application | Description |
|---|---|
| OpenTelemetry .NET | Complete .NET app example |
| OpenTelemetry Django | Python Django with OpenTelemetry |
| OpenTelemetry Go | Go app with full observability |
| OpenTelemetry Java | Java Spring Boot example |
| OpenTelemetry Next.js | Full-stack Next.js with tracing |
| OpenTelemetry Node.js | Node.js Express example |
| OpenTelemetry Python | Python Flask/FastAPI example |
| OpenTelemetry Ruby | Ruby on Rails with OpenTelemetry |
If you need an ingestion method that isn’t in the list above, contact Axiom.