Skip to main content

Get your Ryft Ingest Token

Ryft will provide a unique ingest token for your Trino instance. This token is required to authenticate the HTTP event listener that sends query information to Ryft.

Configure Trino event listener

  1. To integrate Trino query information to Ryft, you will need to configure an HTTP event listener. On your Trino coordinator node, edit the config file of your event listeners. By default it is in /etc/trino/event-listener.properties. The required content of the file should look like the following:
### HTTP
event-listener.name=http
http-event-listener.log-completed=true
http-event-listener.connect-ingest-uri=https://ingest.ryft.io/ingest/trino/queries
http-event-listener.connect-http-headers=x-ryft-token:<RYFT_INGEST_TOKEN>
Make sure http-event-listener.log-completed is set to true, and to replace <RYFT_INGEST_TOKEN> with the one provided by Ryft.
  1. Restart the coordinator node to apply changes.
Note: Make sure outbound connectivity is enabled to ingest.ryft.io on port 443 (HTTPS) for the HTTP event listener to work correctly.