Integrating PaperTrail with MS Teams
2 min readOct 31, 2023
The easy part is we use papertrail to monitor our application logs. The sad part is that papertrail doesn’t have integrations with MS Teams yet. The Teams marketplace does show a papertrail plugin but that has been deprecated it seems.
So here is a no-brainer way to get this working.
- Open PaperTrail > Dashboard and create a group. A group is a separation of different environments. We have Production and Staging.
- Then add Systems to the Group. You can add the logs you want to fall into each group using wildcards as well.
- Open the System and create a search query for what types of logs you would like to receive an alert. On the right side of the query, you will find a bell icon that says to set up an alert.
- Click on the alert icon and set up an Email Alert on the next page.
- Now visit the teams channel you want to send the alerts to. Right click the channel and find the Get Email Address option. This address is unique to each channel on teams.
- Add this email address in the recipient box in step 4. Select the intervals as needed and click save.
And that is it. Next time PaperTrail throws an error you will get notified on your channel. KISS! :)