Date: 5/16/2022
Symas makes two tools available for OpenLDAP log analysis and reduction:
- lr2 - the log analysis and reduction tool and
- ll2 - a log load analysis tool
These programs are written in Python3 and have no special dependencies.
The programs are available from Symas's git repository.
README File Contents
# Symas Logging Utilities
> This program is made available under the Symas Public License.
> For a copy please see https://symas.com/licenses.html
This directory contains two Python3 scripts:
* `lr2`: Log Reduction and Summary - This reads an OpenLDAP Log file and produces a summary (described in detail below) of the overall log.
* `ll2`: Loag Load Analyzer - This program reads the reduced form of the log produced by `lr2` (.rlog) and summarizes the LDAP Requests receive in user-specified intervals (in seconds). The first and last intervals MAY be inaccurate as the log file may start or end in the middle of the interval.
A convenience shell script, `doLog` runs the scripts for the specified log file in sequence.
The two tools write their output to STDOUT. Normal redirection should be used to retain the output for later review.
## `lr2`
`lr2` is a python program (script) that reduces a log file to a report:
### USAGE
lr2 [ > [ >