Installation
To install tremor grab the latest package from the runtime releases tag, and install it 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 want to send data.
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.