- Under Site settings > Log Drains, select “Enable a log drain”.
- Select “General HTTP endpoint” as the Log drain service.
- Select only “function logs” as the Log type.
- Enter the following URL for your endpoint:
YOUR_LOG_SOURCE_API_KEY with the key provided when creating a log source.
- Select
NDJSONas the Log Drain Format. - Once you’ve completed the steps above, select “Connect”.