Our next-gen architecture is built to help you make sense of your ever-growing data. Watch a 4-min demo video!

Back to All Docs

Fastly Logs via HTTPS Streaming Fastly Logs via HTTPS Streaming

Last Updated: May. 12, 2024

Fastly’s real-time log streaming feature provides the ability to send Fastly logs to any HTTPS endpoint.

Fastly supports real-time log streaming of data that passes through it. Fastly supports a number of protocols that allow you to stream logs to a variety of locations, including third-party services, for storage and analysis.

The following tutorial demonstrates how to set up your HTTPS endpoint to Coralogix from your Fastly account.



STEP 1. Log in to your Fastly account.

STEP 2. You will see a listing of all configured services. Click Configure.

STEP 3. Click Edit configuration. Clone to access editing.

STEP 4. In the left-hand panel, click Logging.

STEP 5. Click Create endpoint.

STEP 6. Scroll down the page and select HTTPS. Click on the associated Create endpoint button.

STEP 7. Create an HTTPS endpoint by completing the required fields.

  • Name. Enter a human-readable name.
  • Placement. Select Format Version Default.
  • Log format. Input the following.
  "severity": 3,
  "json": {
    "time": {
    "cdn_server": {
        "is_h2":%{if(fastly_info.is_h2, "true", "false")}V,
        "is_h2_push":%{if(fastly_info.h2.is_push, "true", "false")}V,
    "client": {
        "location_geopoint": {
    "response": {
    "request": {
        "is_ipv6":%{if(req.is_ipv6, "true", "false")}V,
    "socket": {
TimestampThe format should not change.Yes
applicationNameEnter the name of the application.Yes
subsystemNameEnter the name of the subsystem.Yes
SeverityApply the severity to all logs, using the following choices: 1-debug, 2-verbose, 3-info, 4-warning, 5-error, 6-critical. This can be changed later using an extract rule, as described below.Yes
JSON (object)Fields can be added or removed. Static fields can be added. Nested JSON formats are supported including any fields described in the Fastly VCL reference.Yes

Under Advanced options, fill out the fields as follows:

  • Content type. Enter application/json.
  • Custom header name. Enter private_key.
  • Custom header value. Enter your Coralogix Send-Your-Data API key.
  • Method. Select POST.
  • JSON log entry format. Select Array of JSON.
  • Select a log line format. Set to default.

STEP 8. Click Create to create the new logging endpoint. Click Activate to deploy your configuration changes.


Validate that you have configured the integration successfully by viewing your test log in your Coralogix dashboard.

Fastly Extension Package

Coralogix offers a variety of out-of-the-box data extensions. Each tailored extension unlocks a set of predefined items – alerts, parsing rules, dashboards, saved views, actions, and more – allowing you to jumpstart Coralogix monitoring of your external-facing resources. Once your configuration is complete, we strongly recommend deploying the Fastly extension package.

STEP 1. In your navigate pane, click Data Flow > Extensions.

STEP 2. Select the Fastly extension.

STEP 3. Click DEPLOY and complete the setup.

Additional Resources

FastlyLog Streaming: Coralogix
Log Streaming: HTTPS


Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at support@coralogix.com.

On this page