Docs
DocumentationQuery ReferenceAPI Reference
Open Console→→
DocumentationQuery ReferenceAPI Reference

Platform overview

What is Axiom?QuickstartArchitectureFeatures
Fundamentals
Datasets
Edge deployments
Limits
Performance
Optimize usage
Requirements
Semantic conventions
Glossary
Tour
SecurityRoadmap

Send data

Reference architecturesMethods

Understand data

Console
Query
Builder
Editor
Query results
Visualize
Traces
Metrics
Correlations
Save queries
Stream
Dashboard
Create
Elements
Create
Configure
Element types
Gauge
Heatmap
Log stream
Monitor list
Note
Pie chart
Scatter plot
Statistic
Table
Time series
Sections
Configure
Filter
Annotate
Monitor
Overview
View status
Configure
Examples
Monitor types
Anomaly
Match
Threshold
Alerting
Overview
Configure
Notifier types
Custom Webhook
Discord
Email
Microsoft Teams
Opsgenie
PagerDuty
Slack
Manage
Datasets
Overview
Views
Virtual fields
Access
RBAC
Tokens
CLI
Organization
Labels
Audit log
Settings
Usage and billing
Profile
Extend
Overview
AWS Lambda
AWS PrivateLink
Cloudflare Workers
Cloudflare Logpush
Convex
Grafana
Hex
Netlify
Supabase
Tailscale
Terraform
Unkey
Vercel
Intelligence
Overview
Spotlight
AI agents
Overview
MCP Server
Overview
Tools
Query cost limits
Agent-created orgs
Skills
Overview
Axiom alerting
Build dashboards
Control costs
SRE
Translate SPL to APL
Splunk
Overview
Splunk app
Install and configure
Commands
Examples
Portal
How it works
Set up standard mode
Set up transparent mode
Observability Cloud
OCSF data
OCSF as CIM
SPL command support
Examples
Monitor and troubleshoot

Use cases

ObservabilityProduct analytics
OCSF security data
Overview
Send data
Query data
LLM observability
Overview
Use Axiom AI SDK
Manual instrumentation
GenAI attributes
Redaction policies

Miscellaneous

LLMs
Overview
List of docs pages
Full docs
Query reference
FAQs
Legal
Acceptable use policy
Axiom for Startups terms
Committed use terms
Cookies
Data processing
HIPAA
Partner agreement
Partner program guide
Privacy policy
SLA
Terms of service
Terms of use

Send data from Honeycomb to Axiom

Integrate Axiom in your existing Honeycomb stack with minimal effort and without breaking any of your existing Honeycomb workflows.

This page explains how to send data from Honeycomb-instrumented apps to Axiom. Choose the option that matches your instrumentation:

  • If your apps use OpenTelemetry-based Honeycomb SDKs or distributions, point the OTLP exporter at Axiom. This is the recommended option.
  • If your apps use Libhoney or Beelines, run the Axiom Honeycomb Proxy and point the SDK at the proxy.

Prerequisites

  • Create an Axiom account.
  • Create a dataset in Axiom where you send your data.
  • Create an API token in Axiom with permissions to ingest data to the dataset you have created.

Send data with OpenTelemetry

Honeycomb recommends OpenTelemetry for instrumenting apps, and its language distributions are OpenTelemetry-based. Configure the OTLP exporter to send data to Axiom instead of Honeycomb:

  • Set the endpoint to https://AXIOM_DOMAIN.
  • Set the Authorization header to Bearer API_TOKEN.
  • Set the X-Axiom-Dataset header to the name of the Axiom dataset where you want to send data.

For configuration details and language-specific guides, see Send OpenTelemetry data to Axiom.

Info

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.

Send data with the Axiom Honeycomb Proxy

The Axiom Honeycomb Proxy is an open-source server that accepts Honeycomb event and batch requests and forwards them to Axiom. Use it with Libhoney and Beelines, or with any other tool that speaks the Honeycomb events API.

Install and run the proxy

  1. Download a release from GitHub, install it with Homebrew (brew install axiomhq/tap/axiom-honeycomb-proxy), or use the Docker image.
  2. Create the Axiom datasets you want to send data to. Honeycomb creates datasets when you send data to them, but Axiom doesn’t. The proxy sends data to the Axiom dataset with the same name as the Honeycomb dataset in the request.
  3. Set the AXIOM_TOKEN environment variable to an Axiom API token with ingest permission for the datasets. The proxy sends data to Axiom through https://api.axiom.co.
  4. Run the proxy. By default, it listens on port 8080 and forwards each request to both Axiom and Honeycomb. Pass -bypass to send data to Axiom only.

For example, with Docker:

shell
docker run -p8080:8080/tcp \
  -e=AXIOM_TOKEN=API_TOKEN \
  axiomhq/axiom-honeycomb-proxy -bypass
Info

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

Configure the Honeycomb SDK

In your app, set APIHost to the address of the proxy, for example http://localhost:8080. Keep the Honeycomb API key and dataset name as they are: the proxy passes the API key through to Honeycomb when it’s not in bypass mode, and uses the dataset name to select the Axiom dataset.

Examples

Send events from Libhoney for JavaScript

javascript
const Libhoney = require('libhoney');
const hny = new Libhoney({
  writeKey: 'HONEYCOMB_API_KEY',
  dataset: 'DATASET_NAME',
  apiHost: 'http://localhost:8080',
});

hny.sendNow({ message: 'Welcome to Axiom!' });

Send events from Libhoney for Python

python
import libhoney
libhoney.init(writekey="HONEYCOMB_API_KEY", dataset="DATASET_NAME", api_host="http://localhost:8080")

event = libhoney.new_event()
event.add_field("foo", "bar")
event.add({"message": "Welcome to Axiom!"})
event.send()

Send events from Libhoney for Go

go
package main

import (
	"github.com/honeycombio/libhoney-go"
)

func main() {
	libhoney.Init(libhoney.Config{
		WriteKey: "HONEYCOMB_API_KEY",
		Dataset:  "DATASET_NAME",
		APIHost:  "http://localhost:8080",
	})

	defer libhoney.Close() // Flush any pending events

	var ev = libhoney.NewEvent()
	ev.Add(map[string]interface{}{
		"duration_ms":    155.67,
		"method":         "post",
		"hostname":       "web-1",
		"payload_length": 43,
	})
	ev.Send()
}
Was this page helpful?
Suggest edits on GitHub
On this page
Send data with OpenTelemetrySend data with the Axiom Honeycomb ProxyInstall and run the proxyConfigure the Honeycomb SDKExamplesSend events from Libhoney for JavaScriptSend events from Libhoney for PythonSend events from Libhoney for Go