Log streaming: Log Shuttle

      Last updated November 06, 2019

    Fastly's Real-Time Log Streaming feature can send log files to Log Shuttle. Log Shuttle is an open source application designed to provide simpler encrypted and authenticated log delivery.

    Adding Log Shuttle as a logging endpoint

    Follow these instructions to add Log Shuttle as a logging endpoint:

    1. Review the information in our Setting Up Remote Log Streaming guide.
    2. Click the Log Shuttle Create endpoint button. The Create a Log Shuttle endpoint page appears.

      the create a Log Shuttle endpoint page

    3. Fill out the Create a Log Shuttle endpoint fields as follows:
      • In the Name field, enter a human-readable name for the endpoint.
      • In the Log format field, optionally enter an Apache-style string or VCL variables to use for log formatting. The Apache Common Log format string appears in this field by default. Our discussion of format strings provides more information.
      • In the Token field, type the data authentication token. This is required for some endpoints like Heroku's Log Integration.
      • In the URL field, type the URL to which log data will be sent (e.g., https://logs.example.com/).
    4. Click the Advanced options link of the Create a Log Shuttle endpoint page. The Advanced options appear.

      the advanced options on the create a new Log Shuttle endpoint page

    5. In the Placement area, select where the logging call should be placed in the generated VCL. Valid values are Format Version Default, None, and waf_debug (waf_debug_log). Selecting None creates a logging object that can only be used in custom VCL. See our guide on WAF logging for more information about waf_debug_log.
    6. Click the Create button to create the new logging endpoint.
    7. Click the Activate button to deploy your configuration changes.
    Back to Top