Monitoring Generic Log Files

You can use SAS Environment Manager to monitor generic log files. It can monitor the log file's metrics (such as size, permissions, and owner) and can also produce user-defined alerts for the file.
To monitor a log file, follow these steps:
  1. In the SAS Environment Manager, select Resourcesthen selectBrowsethen selectPlatforms. Click on the platform that is running the server whose log you want to monitor.
  2. From the Monitor page for the platform, select Toolsthen selectNew Platform Service.
  3. Specify a name for the service. In the Service Type field, select FileServer File. Click OK.
  4. The Service Inventory page for the new service appears. A message is displayed at the top of the page indicating that the resource has not been configured. Select the Configuration Properties link in the message.
  5. Specify the location of the log file that you want to monitor in the path field. Click OK.
You have now created a service that monitors the specified log file. To view the inventory page for the service, select Resourcesthen selectBrowsethen selectServices. Specify the service name in the Search field to locate the service in the table.
After the service is created, you might want to create alerts to send a notification of certain conditions are met. For example, you could create an alert for a log monitoring service that would send a notification if the word ERROR appears in the log. See Working with Resource Alerts for information about creating alerts..