This page explains how to send data from a syslog logging system to Axiom.
514
to the Syslog server. TCP log messages are sent on TCP port 601
to the Syslog server.go get
:
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.AXIOM_URL
is the URL of the Axiom API. By default, it uses the US region. Change the default value if your organization uses another region. For more information, see Regions.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 want to send data.