Log streaming: LogDNA

  Last updated May 03, 2018

Fastly's Real-Time Log Streaming feature can be configured to send logs in a format that is readable by LogDNA. LogDNA is a cloud-based log management system that aggregates system and application logs into a single location.


Before adding LogDNA as a logging endpoint for Fastly services, you'll need to perform the following steps:

Adding LogDNA as a logging endpoint

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

    the create a Syslog endpoint page

  3. Fill out the Create a Syslog endpoint fields as follows:
    • In the Name field, type a human-readable name for the endpoint.
    • In the Log format field, optionally type an Apache-style string or VCL variables to use for log formatting. The Apache Common Log format string appears in this field by default. See our guidance on format strings for more information.
    • In the Syslog address field, type syslog-a.logdna.com in the domain field before the colon, and in the port field after the colon type the LogDNA port number you noted during your LogDNA account setup.
    • From the TLS menu, select Yes to enable encryption for the syslog endpoint. The TLS Hostname and TLS CA Certificate fields will both appear.
    • In the TLS Hostname field, type syslog-a.logdna.com. This is the hostname Fastly will use to verify the syslog server's certificate.
    • In the TLS CA certificate field, copy and paste the contents of the LogDNA root Certificate file you fetched.
  4. Click the Create button to create the new logging endpoint.
  5. Click the Activate button to deploy your configuration changes.

Logs should begin appearing in your LogDNA account a few seconds after you've created the endpoint and deployed your service.

Back to Top