Building a Web Interface to a Centralized View of Application Logs with LogWatch

📅 Mar 18, 2024
Phil Ly Phil Ly

Managing and analyzing log data proved inefficient due to the sheer volume and dispersion of log files across various services and applications. Locating specific entries often necessitated time-consuming manual searches through individual log files.

TIC LogWatch is a Nonstop application log monitoring product that detects anomalies and raises alerts to enable proactive handling of errors. LogWatch is relevant in many different use cases, including monitoring EMS logs, 3rd party products like TIC's TeleMail, NuWave product logs, comforte's Escarps logs, and many others. One of our LogWatch users shares how he has built a useful Web interface to view his application logs easily, including EMS and TIC TeleMail.

Overview

The idea for this application was to create an easy way for our development team to find log files quickly and easily all in a single place. The application allows the user to pick a log file from the list and it would simply display as much data from the log as could be read in just 10 seconds. The most recent events are always on top. As you scroll down, you can click to see more data. You can even specify a starting date/time in the text box at the top. This will allow you to quickly jump to the logs several days in the past. Built-in filtering allows the user to see only lines that contain keywords.

Steps

LogWatch and Log Data

Custom COBOL Programs

Result

A browser-based GUI that allows easy access to application logs, organized in a standard easy-to-understand format. For example, developers can point and click to view EMS logs for the past 90 days or to view TeleMail errors for the past 60 days.

System and Application Logs Interface

Benefits

The centralized log viewer significantly enhanced our log management workflow:

Conclusion

LogWatch serves as a valuable tool for centralizing and managing logs. Its features significantly improve the efficiency and effectiveness of log analysis, making it a valuable asset for any organization grappling with managing diverse log data. Contact Us today at 📧 sales-support@ticsoftware.com for more information.

Do you find this tutorial blog helpful? Let us know what you think, and how we can improve it. Don't forget, that you can subscribe to our blogs to get automatic email notifications when a new blog is available.

← Back to Blog
Phil Ly

Phil Ly is the president of TIC Software, a leading provider of software and services for the Nonstop community focused on Nonstop application modernization. Under Phil's guidance, TIC Software has a proven track record of helping clients seamlessly integrate Nonstop with next-generation technologies. A recognized technical leader, Phil is passionate about empowering organizations to unlock the full potential and longevity of their Nonstop platform through innovative solutions.