Installation
Install the latest package from the runtime releases tag on your local machine.Configuration using HTTP
To send logs via Tremor to Axiom, you need to create a configuration file. For example, createaxiom-http.troy with the following content (using a file as example data source):
TREMOR_PATH in your environment pointing to tremor-runtime/tremor-script/lib if you are using a src clone then you can execute it as follows tremor server run axiom-http.troy
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.Replace AXIOM_DOMAIN with api.axiom.co if your organization uses the US region. For more information, see Regions.Configuration using Syslog
You can also send logs via Tremor to the Syslog endpoint using a file as an example data source.- Click
Settings > Endpoints.
- Click New endpoint.
- Click .
- Name the endpoint.
- Select the dataset where you want to send data.
- Copy the URL displayed for the newly created endpoint. This is the target URL where you send the data.
url with the URL of your Syslog endpoint.