Logparser
This document describes the configuration and usage of the Advanced Log Parser plugin for log monitoring in Pandora FMS. The plugin scans a directory for log files, applies regular expression filters on file names and line content, and generates log-type modules with the results encoded in base64.
Unlike other log monitoring plugins, Advanced Log Parser uses an incremental indexing system: it only processes new lines that appear in files since the last execution, avoiding re-reads and duplicates.
Introduction
This document describes the configuration and usage of the Advanced Log Parser plugin for log mon...
Requirements
Read access to the log files in the specified directory. Read and write access to the index dire...
Compatibility Matrix
Tested onRocky 9 Expected to work onAny Linux system supported by Pandora FMS
Configuration Parameters
Configuration Parameters The plugin receives all parameters directly via the command line: advlog...
Plugin configuration
Copy the binary to the Pandora FMS agent plugins directory and configure it as a module_plugin in...
Usage examples
Capture all new lines from .log files advlogparser /var/log/myapp '.*\.log' Filter only lines co...
How it works
Incremental Reading The plugin maintains an index file for each processed log file. The index sto...