Fastly
Overview
This setup leverages Fastly’s custom HTTPS endpoint to send real-time log data directly to the Agent Analytics API. With Fastly’s log streaming, you gain immediate insights into traffic patterns, performance, potential threats, and troubleshooting needs.
Logs can be streamed to multiple destinations, including HTTP endpoints. To learn more about Fastly’s real-time log capabilities, see the official Fastly documentation.
Required:
An active Fastly account
Permissions to configure Logging Endpoints
API credentials for the Profound Agent Analytics platform
Step 3
Configure HTTPS Endpoint

With the following info:
Name; Limy Analytics
Placement: Use the default
URL: https://stream.getlimy.ai
Maximum logs & Maximum bytes: Optional
Log format: Paste the following log format. A different API might be rejected. Please contact us for any changes at [email protected]
{
"timestamp": "%{strftime(\{"%Y-%m-%dT%H:%M:%S%z"\}, time.start)}V",
"client_ip": "%{req.http.Fastly-Client-IP}V",
"geo_country": "%{client.geo.country_name}V",
"geo_city": "%{client.geo.city}V",
"host": "%{if(req.http.Fastly-Orig-Host, req.http.Fastly-Orig-Host, req.http.Host)}V",
"url": "%{json.escape(req.url)}V",
"request_method": "%{json.escape(req.method)}V",
"request_protocol": "%{json.escape(req.proto)}V",
"request_referer": "%{json.escape(req.http.referer)}V",
"request_user_agent": "%{json.escape(req.http.User-Agent)}V",
"response_state": "%{json.escape(fastly_info.state)}V",
"response_status": %{resp.status}V,
"response_reason": %{if(resp.response, "%22"+json.escape(resp.response)+"%22", "null")}V,
"response_body_size": %{resp.body_bytes_written}V,
"fastly_server": "%{json.escape(server.identity)}V",
"fastly_is_edge": %{if(fastly.ff.visits_this_service == 0, "true", "false")}V
}Step 4
Open " Advanced options" and

Complete
Content type -
application/jsonCustom header name -
X-API-KeyCustom header value - Your provisioned API key from Limy AI(provided) -
XXXXX_tokenMethod -
POSTJSON log entry format -
Array of JSONSelect a log line format -
Blank
That’s it! You have now successfully configured Limy router for your website. Data should begin to populate on your dashboard within an hour.
Issue Resolution
Confirm that your HTTPS endpoint is properly configured.
Review your Fastly logs to identify any delivery related errors.
Ensure your API credentials are valid and up-to-date.
Make sure you’re using the correct API endpoint
Need More Help?
Contact
[email protected]
Last updated

