As part of this feature, Fastly provides an option to send data to generic HTTPS endpoints. In this document, we describe how to leverage this feature in order to send Fastly service logs to Bronto.
First an API key is required in order to be able to successfully ingest data into Bronto. To generate an API key in Bronto, please refer to the API Keys documentation.
The logging configuration is set per Fastly service (CDN or Compute).
From your CDN Services in Fastly, Select the Service you wish to collect logs from.
Click the Service configuration tab
Click the Logging option on the left sidebar
From here select Create an Endpoint option, select HTTPS and then Create endpoint
Fill in the details required which include:
Name: Name of the endpoint to create
Placement: Format Version Default
Log Format: See example below which can be copied
URL: The URL to the Bronto ingestion endpoint. service_name and service_namespace query parameters can be passed to the URL in order to define the location of the log data in Bronto for example:
Congratulations, once the Fastly service logging configuration is activated data will begin to flow to Bronto. Please note it can take some time for the Service and Service Namespace to be created and for logs to flow.
In this example, the geo_country value from the event content will be utilized as the service name.Once setup, logs for each field will go to the relevant Service in Bronto which allows you to send the log events per service using multiple HTTPs logging endpoints with Fastly.