logconv.pl.1 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH LOGCONV.PL 1 "May 18, 2008"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. logconv.pl \- analyzes Directory Server access log files
  20. .SH SYNOPSIS
  21. .B logconv.pl
  22. [\fI\-h\fR] [\fI\-d <rootDN>\fR] [\fI\-s <size limit>\fR] [\fI\-v\fR] [\fI\-V\fR]
  23. [\fI\-S <start time>\fR] [\fI\-E <end time>\fR] [\fI\-T <min etime>\fR]
  24. [\fI\-efcibaltnxgjuU\fR] [\fI access log ... ... \fR]
  25. .PP
  26. .SH DESCRIPTION
  27. Analyzes Directory Server access log files for specific information defined on the command
  28. line
  29. .SH OPTIONS
  30. A summary of options is included below:
  31. .TP
  32. .B \fB\-h, \-\-help\fR
  33. help/usage
  34. .TP
  35. .B \fB\-d, \-\-rootDN\fR <Directory Managers DN>
  36. DEFAULT \-> cn=directory manager
  37. .TP
  38. .B \fB\-D, \-\-data\fR <Location for temporary data files>
  39. DEFAULT \-> /tmp
  40. .br
  41. TIP \-> If there is not enough RAM, a RAM disk can be used instead:
  42. mkdir /dev/shm/logconv, and use this directory for the "-D" value.
  43. .TP
  44. .B \fB\-s, \-\-sizeLimit\fR <Number of results to return per category>
  45. DEFAULT \-> 20
  46. .TP
  47. .B \fB\-X, \-\-excludeIP\fR <IP address to exclude from connection stats>
  48. E.g. Load balancers
  49. .TP
  50. .B \fB\-v, \-\-version\fR show version of tool
  51. Print version of the tool
  52. .TP
  53. .B \fB\-S, \-\-startTime\fR <time to begin analyzing logfile from>
  54. Time to begin analyzing logfile from
  55. E.g. [28/Mar/2002:13:14:22 \f \-0800]\fR
  56. .TP
  57. .B \fB\-E, \-\-endTime\fR <time to stop analyzing logfile>
  58. Time to stop analyzing logfile from
  59. E.g. [28/Mar/2002:13:24:62 \f \-0800]\fR
  60. .TP
  61. .B \fB\-T, \-\-minEtime\fR <minimum etime to report unindexed searches>
  62. The minimum etime that is required to record and report on an unindexed search. Default is zero.
  63. .TP
  64. .B \fB\-M, \-\-reportFileMins\fR <CSV output file>
  65. This option creates a CSV report for spreadsheets.
  66. .TP
  67. .B \fB\-m, \-\-reportFileSecs\fR <CSV output file>
  68. This option creates a CSV report for spreadsheets.
  69. .TP
  70. .B \fB\-B, \-\-bind\fR <ALL | ANONYMOUS | "Bind DN">
  71. This generates a report based on either ALL bind dn's, anonymous binds, or a specific DN.
  72. .TP
  73. \fB\-V, \-\-verbose\fR <enable verbose output \- includes all stats listed below except U>
  74. Verbose output
  75. .TP
  76. .B \fB\-[efcibaltnxgjuU]\fR
  77. .br
  78. \fBe\fR Error Code stats
  79. .br
  80. \fBf\fR Failed Login Stats
  81. .br
  82. \fBc\fR Connection Code Stats
  83. .br
  84. \fBi\fR Client Stats
  85. .br
  86. \fBb\fR Bind Stats
  87. .br
  88. \fBa\fR Search Base Stats
  89. .br
  90. \fBl\fR Search Filter Stats
  91. .br
  92. \fBt\fR Etime Stats
  93. .br
  94. \fBn\fR Nentries Stats
  95. .br
  96. \fBx\fR Extended Operations
  97. .br
  98. \fBr\fR Most Requested Attribute Stats
  99. .br
  100. \fBg\fR Abandoned Operation Stats
  101. .br
  102. \fBj\fR Recommendations
  103. .br
  104. \fBu\fR Unindexed Search Stats (very detailed)
  105. .br
  106. \fBy\fR Connection Latency Stats
  107. .br
  108. \fBp\fR Open Connection ID Stats
  109. .br
  110. \fBU\fR Unindexed Search Summary
  111. .PP
  112. .SH USAGE
  113. Examples:
  114. .IP
  115. logconv.pl \fB\-s\fR 10 \fB\-V\fR access
  116. .IP
  117. logconv.pl \fB\-d\fR "cn=directory manager" /export/server4/slapd\-host/logs/access*
  118. .IP
  119. logconv.pl \fB\-s\fR 50 \fB\-ibgju\fR access*
  120. .IP
  121. logconv.pl \fB\-S\fR "[28/Mar/2002:13:14:22 \fB\-0800]\fR" \fB\-E\fR "[28/Mar/2002:13:50:05 \fB\-0800]\fR" \fB\-e\fR access
  122. .br
  123. .SH AUTHOR
  124. logconv.pl was written by the 389 Project.
  125. .SH "REPORTING BUGS"
  126. Report bugs to http://bugzilla.redhat.com.
  127. .SH COPYRIGHT
  128. Copyright \(co 2001 Sun Microsystems, Inc. Used by permission.
  129. .br
  130. Copyright \(co 2008 Red Hat, Inc.
  131. .br
  132. This manual page was written by Michele Baldessari <[email protected]>,
  133. for the Debian project (but may be used by others).
  134. .br
  135. This is free software. You may redistribute copies of it under the terms of
  136. the Directory Server license found in the LICENSE file of this
  137. software distribution. This license is essentially the GNU General Public
  138. License version 2 with an exception for plug-in distribution.