Fastly's Real-Time Log Streaming feature for Compute@Edge services can send log files to Logentries. Logentries is a real-time log management and analytics system that you can use to monitor your Fastly logs.
Fastly does not provide direct support for third-party services. See Fastly's Terms of Service for more information.
Adding Logentries as a logging endpoint
If you already have a Logentries account, or if you sign up for a Logentries account on the Logentries website, you can add Logentries as a logging endpoint in the Fastly web interface.
Prerequisites
- Register for a Logentries account.
- Create a new log in the Logentries application by following the instructions on the Logentries website.
- During new log creation, select Manual Configuration and Token TCP.
- Make a note of the token provided in the Logentries configuration panel. We recommend you use this token when you create the Logentries logging endpoint for Fastly services.
Creating the logging endpoint in the web interface
After you've created a new log in Logentries and found the token, follow these instructions to add Logentries as a logging endpoint for Fastly Compute@Edge services:
-
Review the information in our Setting Up Remote Log Streaming guide.
TIPOur developer documentation provides more information about logging with Compute@Edge code written in Rust, AssemblyScript, and JavaScript.
- Click the Logentries by Rapid7 Create endpoint button. The Create a Logentries endpoint page appears.
- Fill out the Create a Logentries endpoint fields as follows:
- In the Name field, enter the name you specified in your Compute@Edge code. For example, in our Rust code example, the name is
my_endpoint_name
. - In the Token field, enter the token provided in the Logentries configuration panel.
- From the Region menu, select the region to stream logs to. For older Logentries accounts, where the log view URL starts with
https://logentries.com/
, selectEU
. For InsightOps accounts, select the region based on which data storage region you chose on signup for your Rapid7 account. For example, if your log view URL ishttps://us2.ops.insight.rapid7.com/
, then your selected region would beUS-2
.
- In the Name field, enter the name you specified in your Compute@Edge code. For example, in our Rust code example, the name is
- Click the Advanced options link of the Create a Logentries endpoint page and decide which of the optional fields to change, if any.
- Fill out the Advanced options of the Create a Logentries endpoint page as follows:
- From the TLS menu, optionally select Yes.
- Click the Create button to create the new logging endpoint.
- Click the Activate button to deploy your configuration changes.
Next steps
Logentries maintains the Fastly Community Pack that leverages custom VCL to provide advanced User-Agent statistics, regional statistics, error tracking, and more.