OS Manuals

/usr/bin/logconv.pl

LDAPv3 compliant server - LDAP server and command line utilities for server administration.

From 389-ds-base 3.3.1-r10 (enterprise-packages), captured 2026-11-08 by running logconv.pl --help (exit 1). permalink

Usage:

 ./logconv.pl [-h] [-d|--rootdn <rootDN>] [-s|--sizeLimit <size limit>] [-v|verison] [-Vi|verbose]
 [-S|--startTime <start time>] [-E|--endTime <end time>]
 [-efcibaltnxrgjuyp] [ access log ... ... ]

- Commandline Switches:

         -h, --help         help/usage
         -d, --rootDN       <Directory Managers DN>  default is "cn=directory manager"
         -D, --data         <Location for temporary data files>  default is "/tmp"
         -s, --sizeLimit    <Number of results to return per catagory>  default is 20
         -X, --excludeIP    <IP address to exclude from connection stats>  E.g. Load balancers
         -v, --version      show version of tool
         -S, --startTime    <time to begin analyzing logfile from>
             E.g. "[28/Mar/2002:13:14:22 -0800]"
         -E, --endTime      <time to stop analyzing logfile>
             E.g. "[28/Mar/2002:13:24:62 -0800]"
         -m, --reportFileSecs  <CSV output file - per second stats>
         -M, --reportFileMins  <CSV output file - per minute stats>
         -B, --bind         <ALL | ANONYMOUS | "Actual Bind DN">
	        -T, --minEtime     <minimum etime to report unindexed searches>
         -V, --verbose      <enable verbose output - includes all stats listed below>
         -[efcibaltnxrgjuyp]

                 e       Error Code stats
                 f       Failed Login Stats
                 c       Connection Code Stats
                 i       Client Stats
                 b       Bind Stats
                 a       Search Base Stats
                 l       Search Filter Stats
                 t       Etime, Wtime, Optime Stats
                 n       Nentries Stats
                 x       Extended Operations
                 r       Most Requested Attribute Stats
                 g       Abandoned Operation Stats
                 j       Recommendations
                 u       Unindexed Search Stats
                 y       Connection Latency Stats
                 p       Open Connection ID Stats
                 U       Unindexed Search Summary

  Examples:

         logconv.pl -s 10 -V /logs/access*

         logconv.pl --rootDN cn=dm /logs/access*

         logconv.pl --sizeLimit 50 -ibgju /logs/access*

         logconv.pl -S "[28/Mar/2002:13:14:22 -0800]" --endTime "[28/Mar/2002:13:50:05 -0800]" -e /logs/access*

         logconv.pl -m log-minute-stats-csv.out /logs/access*

         logconv.pl -B ANONYMOUS /logs/access*

         logconv.pl -B "uid=mreynolds,dc=example,dc=com" /logs/access*
         logconv.pl -u -T 1 /logs/access*

Cleaning up temp files...
Done.
Options (13)
OptionDescriptionSource
-h, --helphelp/usagehelp + man
-d, --rootDN Directory<Directory Managers DN> default is "cn=directory manager"help + man
-D, --data LocationDEFAULT -> /tmp TIP -> If there is enough RAM, a RAM disk can be used instead:help + man
-s, --sizeLimit Number<Number of results to return per catagory> default is 20help + man
-X, --excludeIP IP<IP address to exclude from connection stats> E.g.help + man
-v, --version showPrint version of the toolhelp + man
-S, --startTime time<time to begin analyzing logfile from> E.g.help + man
-E, --endTime timeTime to stop analyzing logfile from E.g.help + man
-m, --reportFileSecs CSVThis option creates a CSV report for spreadsheets.help + man
-M, --reportFileMins CSVThis option creates a CSV report for spreadsheets.help + man
-B, --bind ALLThis generates a report based on either ALL bind dn's, anonymous binds, or a specific DN.help + man
-T, --minEtime minimumThe minimum etime that is required to record and report on an unindexed search.help + man
-V, --verbose enable<enable verbose output - includes all stats listed below>help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.