3 Quick Ways that TIC LogWatch Can Enhance Your NonStop Application Logs
Updated: Mar 26
TIC LogWatch
Are you looking for ways to make better use of your NonStop Application logs?
TIC LogWatch is a Guardian program that watches different log files, looks for error patterns, and generates alerts when an anomaly is detected.
Here are some quick out-of-the-box ways that TIC LogWatch can be used to enhance your NonStop logs.
1. Add a timestamp to an OSS log record
Have you ever come across some log files which have no timestamp associated with each entry? Of course, you have! This is especially common in some Java or Spring application log files like the example below. Don’t you get really frustrated trying to guess which entry is the one that you really want to look at, especially when you are under the gun trying to troubleshoot a production problem?
Solution: LogWatch can monitor the original log file, extracts its contents, adds some new content, such as a timestamp, and writes to another file. Now the new file contains the relevant data of the original log, plus a timestamp!
2. Unburden your EMS logs
Do you route many of your application logs to EMS, just because you thought that was the only way to detect error patterns in the logs? If you do, then you probably had to set up many EMS collectors and associated filters. Also, let me guess: Your EMS probably consumes a lot of system resources, especially when it tries to keep up with the high volume application logging. Right?
Solution: Send your application logs to disk files, and let LogWatch do the filtering for you. When LogWatch finds an anomaly in the log, it will only send the relevant messages to EMS like in the above diagram. That cuts down on a lot of the overhead and operation effort in maintaining the EMS filters.
3. Catch errors in your VHS logs
VHS is great because it enables you to route all your HOMETERM output to it without having to worry about the terminal not in PAUSE or a log file running out of extents. But quite often errors such as program abends or a stack dump are missed in the VHS logs (like the message below) because they are not being monitored.
Solution: LogWatch understands VHS log formats and can monitor for error patterns that you want to catch, including multi-line stack dump messages. LogWatch can raise an alert via email or message to EMS as soon as it detects the VHS error.
There are many other features in LogWatch that add “Operational Intelligence” to you NonStop environment. You can learn more about LogWatch and log monitoring by accessing the following resources:
Feedback please
Do you find this tutorial blog helpful? Let us know what you think, and how we can make it even better. Don’t forget, you can subscribe to our blogs to get automatic email notification when a new blog is available.
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.
Comments