Log Analysis (Batch) service
The Log Analysis (Batch) is an agent-based service and works only on log files located on a file system that is local to the agent. It enables you to monitor text that N-able N-central writes to a log file during the execution of a scheduled process or task, such as a nightly virus scan or a weekly backup. During the monitoring process, the service scans the complete log file created during the scheduled process. Through the use of regular expression matching and time stamp comparison, it ensures that the task was completed successfully.
Each time N-able N-central or the application performs a scheduled task or process, it creates a new Batch log file. The names of the files are numbered in sequence according to a specific application's recording convention. The Log Analysis (Batch) service uses the latest modified date as the metric to determine which log file it should scan during the monitoring process. This service monitors up to four log files for each device and supports wide characters.
For information on adding the service to a device see Add and configure a Log Analysis (Batch) service.
Service Type | Log Batch |
Instances on a Device | 10 |
Device Class | Server - Generic and Server - Windows |
Monitored By | Agent (Windows, Red Hat Enterprise Linux, and macOS) |
Log File Name and Path | The directory path and name of the log file that is to be monitored by the service. You can specify a complete or partial name and path specified. You must specify the directory name as well, for example: c:\test.log |
Scan Interval | 5 minutes |
Repeat Weekly on Days | The scan is repeated weekly on the specified days. |
Repeat Monthly on Days | The scan is repeated monthly on the specified days. |
Status details
Status Detail | Description |
---|---|
File Size (Bytes) | N-able N-central reads the size of the file and compares it with the values your threshold specifications. Threshold options can vary for each specified regular expression. |
Regular Expressions (1 to 6) | The thresholds for the regular expressions that you specified on the Service Details tab. |
Last Parse-able Dates Time Zone | The time zone off-set based on GMT or UTC. |
Difference in minutes... | N-able N-central compares the values that you specify in this field with the age of the log file that is calculated by the agent. The age is the difference between the time the log file was generated and the current time. |
Number of lines in the file | N-able N-central scans the number of lines in the file and compares it with your threshold specifications. |
The line count matched regex... | The number of lines, in the log file, on which the keyword has been located and returned by the agent. This information is displayed for each regular expression on the status details screen for the service, any applicable reports, and any triggered notifications, except for numeric pages. |
The first line matched | The first 250 characters of the first line, in the log file, containing the matching keyword returned by the agent. This information is displayed on the service's status details screen, any applicable reports, and any triggered notifications, except for numeric pages. |