Inspecting logs for the Build Step, Runtime, and Edge Network traffic of a deployment can be crucial to pinpointing aspects of its behavior and understanding better where improvements can be made.
Today, we are thrilled to announce support for Log Drains: collect all of your logs using a service that specializes in storing app logs.
Introducing Log Drains
Log Drains make it easy to collect logs from your deployments and forward them to archival, search, and alerting services by sending them via
HTTPS
, HTTP
, TLS
, and TCP
once a new log line is created. At the time of writing, we currently support 3 types of Log Drains:
- JSON
- NDJSON
- Syslog
Along with Log Drains, we are introducing two new open-source integrations with logging services for you to start using them today: LogDNA and Datadog.
The LogDNA and Datadog integrations available in the ZEIT Integrations marketplace.
Getting Started
- Install the desired integration from the ZEIT Integrations Marketplace.
- Follow the configuration steps provided and choose a project to connect with the service.
- Watch your logs appear on the selected service.
The LogDNA and Datadog application interfaces.
Benefits of Log Drains
- Persisted storage of logs.
- Large volume of log storage available.
- Ability to create alerts based on logging patterns.
- Generating metrics and graphs from logs data.
Conclusion
Want to create your own integration? Explore our API documentation and Open Source example.