This add-on is operated by SigScalr, Inc.
Industry's fastest log management, 1025x faster than ElasticSearch
SigLens
Last updated June 27, 2024
The SigLens add-on is currently in beta.
Table of Contents
Siglens Add-On for Heroku
The SigLens add-on for Heroku is a powerful tool for real-time log analytics. It allows you to monitor your application’s logs in real-time, providing insights into your application’s performance and behavior.
Once installed, the SigLens add-on captures logs emitted by your application and makes them available for viewing and analysis on the SigLens dashboard. This can be particularly useful for identifying and diagnosing issues, understanding usage patterns, and optimizing your application’s performance.
In addition to real-time log viewing, SigLens also provides advanced search capabilities, allowing you to filter and search your logs based on various criteria. This can be a valuable tool for troubleshooting specific issues or understanding particular aspects of your application’s behavior.
Configuring your Application for the SigLens Add-on
Please follow this guide to know more about Setting up your First Heroku app. If your app is a webserver, make sure you host it on the PORT
environment variable set by Heroku.
If you are not familiar with how to setup and install heroku, please follow the instructions outlined in this document
Once your Heroku app is set up, if your logger is configured to send logs to a file, change it so that logs are sent to stdout. This allows Heroku to see the logs.
Provisioning the Add-on
Siglens can be attached to a Heroku application via the CLI:
$ heroku addons:create siglens --app <your app name>
-----> Adding siglens to <your app name>... done
Please replace <your app name>
with the actual name of your Heroku app.
After provisioning the SigLens add-on, you can verify its installation and view your logs:
- Go to Heroku Dashboard and click on your app.
- In the Overview tab (this is the default tab you should already be in), you can see the add-ons installed on your app. Click the SigLens link.
- This should redirect you to SigLens Dashboard and log you in to your account.
- Verify that you can see your logs. You may need to wait a few seconds and click the Search button to refresh the results.
Monitoring Your Application with SigLens
Monitor SigLens add-on activity within the Heroku log stream by running:
$ heroku logs --tail
Removing the Add-on
Remove SigLens add-on via the CLI:
$ heroku addons:destroy siglens
Before removing SigLens add-on, export its data if necessary.
Support
Submit all SigLens add-on support and runtime issues via one of the Heroku Support channels. Any non-support-related issues or product feedback is welcome at support@sigscalr.io.