Prerequisites. A Fastly service in front of your site, and a
verified domain in Rankly. Your ingest token is in
Settings.
Setup
Create an HTTPS logging endpoint
In the Fastly dashboard, open your service and go to Logging -> Create
endpoint -> HTTPS. Configure:
| Setting | Value |
|---|---|
| URL | https://ingest.tryrankly.com/ingest/fastly?tenant=tnt_your_token |
| Method | POST |
| Content type | application/json |
| Format | one JSON object per log line (see below) |
Set the log format
Use a JSON log line with these fields. Fastly’s format syntax fills them in
per request:Rankly accepts one JSON object per line or a JSON array per POST.