Send data from syslog to Axiom over a secure connection
This page explains how to send data securely from a syslog logging system to Axiom.
This page explains how to send syslog data to Axiom over a TLS-encrypted connection. Run a syslog receiver on infrastructure you control, point your syslog clients at it, and let the receiver forward the data to Axiom over HTTPS.
Axiom recommends Vector as the receiver. Vector accepts syslog over TLS and adds the batching, retries, and error reporting that the syslog protocol lacks. If your clients are on a trusted network and don’t need TLS, you can also use the Axiom Syslog 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.
- Install Vector on a host that your syslog clients can reach.
- A TLS certificate and private key for that host.
Configure Vector
Create a configuration file, for example vector.toml, with a syslog source that listens over TLS and an axiom sink:
Start Vector with the configuration file: vector --config /path/to/vector.toml.
Axiom highlights Syslog events by severity. For supported fields and levels, see Log level detection.
For more configuration options, see the Vector syslog source and Axiom sink documentation, and Send data from Vector to Axiom.
Axiom highlights Syslog events by severity. For supported fields and levels, see Log level detection.
Configure syslog client
Configure your syslog client to send messages over TCP with TLS to the address and port where Vector listens, for example syslog.example.com:6514. Ensure the client trusts the certificate authority that issued the receiver’s certificate.
In Axiom, click the Stream tab, select your dataset, and check that the messages arrive.