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
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
Query cost limits
Agent-created orgs
Skills
Overview
Axiom alerting
Build dashboards
Control costs
Query metrics
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
SPL command support
Examples
Monitor and troubleshoot

Use cases

ObservabilityProduct analytics
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
Cookies
Data processing
HIPAA
Partner agreement
Partner program guide
Privacy policy
SLA
Terms of service
Terms of use

Send data from syslog to Axiom

This page explains how to send data from a syslog logging system to Axiom.

The Axiom Syslog Proxy acts as a syslog server to send data to Axiom.

Info

The Axiom Syslog Proxy is an open-source project and welcomes your contributions. For more information, see the GitHub repository.

Syslog limitations and recommended alternatives

Syslog is an outdated protocol. Some of the limitations are the following:

  • Lack of error reporting and feedback mechanisms when issues occur.
  • Inability to gracefully end the connection. This can result in missing data.
Info

For a more reliable and modern logging experience, consider using tools like Vector to receive syslog messages and forward them to Axiom. This approach bypasses many of syslog’s limitations.

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.

Other requirements:

  • Message size limit: Axiom currently enforces a 64KB per-message size limit. This is in line with RFC5425 guidelines. Any message exceeding the limit causes the connection to close because Axiom doesn’t support ingesting truncated messages.
  • TLS requirement: Axiom only supports syslog over TLS, specifically following RFC5425. Configure your syslog client accordingly.
  • Port requirements: UDP log messages are sent on UDP port 514 to the Syslog server. TCP log messages are sent on TCP port 601 to the Syslog server.

Ensure your messages conform to the size limit and TLS requirements. If the connection is frequently re-established and messages are rejected, the issue can be the size of the messages or other formatting issues.

Install Axiom Syslog Proxy

To install the Axiom Syslog Proxy, choose one of the following options:

  • Install using a pre-compiled binary file
  • Install using Homebrew
  • Install using Go command
  • Install from the GitHub source
  • Install using a Docker image

Install using pre-compiled binary file

To install the Axiom Syslog Proxy using a pre-compiled binary file, download one of the releases in GitHub.

Install using Homebrew

Run the following to install the Axiom Syslog Proxy using Homebrew:

shell
brew tap axiomhq/tap
brew install axiom-syslog-proxy

Install using Go command

Run the following to install the Axiom Syslog Proxy using go get:

shell
go install github.com/axiomhq/axiom-syslog-proxy/cmd/axiom-syslog-proxy@latest

Install from GitHub source

Run the following to install the Axiom Syslog Proxy from the GitHub source:

shell
git clone https://github.com/axiomhq/axiom-syslog-proxy.git
cd axiom-syslog-proxy
make install

Install using Docker image

To install the Axiom Syslog Proxy using a Docker image, use a Docker image from DockerHub

Configure Axiom Syslog Proxy

Set the following environment variables to connect to Axiom:

  • AXIOM_TOKEN is the Axiom API token you have generated.
  • AXIOM_DATASET is the name of the Axiom dataset where you want to send data.
  • Optional: AXIOM_URL is the URL of the Axiom API. By default, it uses the US East 1 (AWS) edge deployment. Change the default value if your organization uses another edge deployment. For more information, see Edge deployments.

Run Axiom Syslog Proxy

To run Axiom Syslog Proxy, run the following in your terminal.

shell
./axiom-syslog-proxy

If you use Docker, run the following:

shell
docker run -p601:601/tcp -p514:514/udp  \
  -e=AXIOM_TOKEN=API_TOKEN     \
  -e=AXIOM_DATASET=DATASET_NAME \
  axiomhq/axiom-syslog-proxy
Info

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.

Test configuration

To test that the Axiom Syslog Proxy configuration:

  1. Run the following in your terminal to send two messages:

    shell
    echo -n "tcp message" | nc -w1 localhost 601
    echo -n "udp message" | nc -u -w1 localhost 514
  2. In Axiom, click the Stream tab.

  3. Click your dataset.

  4. Check whether Axiom displays the messages you have sent.

Was this page helpful?
Suggest edits on GitHub
On this page
Syslog limitations and recommended alternativesInstall Axiom Syslog ProxyInstall using pre-compiled binary fileInstall using HomebrewInstall using Go commandInstall from GitHub sourceInstall using Docker imageConfigure Axiom Syslog ProxyRun Axiom Syslog ProxyTest configuration