Get hands-on training for JIRA Software, Confluence, and more at Atlassian Summit Europe. Register now ›

While its great that applications such as Confluence keep track of errors by writing them to the logs, they are generally ignored as there is no convenient way to access them. I set out to solve this problem by writing a script (built on Enchanter) that processes log files on a remote server for any error messages, then creates an RSS feed. Here are a couple feeds I created for some servers I was interested in:
RSS.jpg
The base Enchanter script that generates these feeds is log4j-rss.bsh. The script generates the RSS feed when activated, so to keep the feed timely, you’d probably want to schedule via a cron or similar tool. I use this script, scheduled via cron, to monitor several Atlassian and Apache servers, and I’m sure it could be useful anywhere else, since it isn’t tied to the log format of Confluence, Tomcat, or even Log4J.

Fresh ideas, announcements, and inspiration for your team, delivered weekly.

Subscribe now

Fresh ideas, announcements, and inspiration for your team, delivered weekly.

Subscribe now