LOGCONV.PL(1)

πŸ’– LOGCONV.PL πŸ’–

okay bestie, grab a boba because we're about to read your Directory Server's diary 🫢 this is logconv.pl, section 1 of the General Commands Manual, and she analyzes Directory Server access log files. periodt.


✨ NAME ✨

logconv.pl β€” analyzes Directory Server access log files

she's giving forensic investigator, she's giving nosy bestie reading your texts, she's giving data πŸ’…


🌸 SYNOPSIS 🌸

logconv.pl [-h] [-d <rootDN>] [-s <size limit>] [-v] [-V] [-S <start
time>] [-E <end time>] [-T <min etime>] [-efcibaltnxgjuU] [ access log
... ... ]

look at her. so many little flags. so many little ways to learn the truth about your logs ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

she analyzes Directory Server access log files for specific information defined on the command line. that's it. that's the whole vibe. you tell her what you're curious about, she tells you. no cap. πŸŽ€


πŸ’… OPTIONS πŸ’…

a summary of options is included below (and yes, we're doing all of them, we don't skip, skipping is not the vibe):

  • -h, --help β€” help/usage. she'll explain herself, queen behavior πŸ‘‘
  • -d, --rootDN <Directory Managers DN> β€” the Directory Manager's DN. DEFAULT -> cn=directory manager
  • -D, --data <Location for temporary data files> β€” where she puts her lil temporary data files. DEFAULT -> /tmp

TIP -> if you've got enough RAM, a RAM disk can be used instead: mkdir /dev/shm/logconv, and use this directory for the "-D" value. not her being efficient. we love a resourceful icon πŸ’–

  • -s, --sizeLimit <Number of results to return per category> β€” how many results she gives you per category. DEFAULT -> 20
  • -X, --excludeIP <IP address to exclude from connection stats> β€” an IP address to exclude from connection stats. E.g. Load balancers. bye felicia, your LB is skewing the numbers πŸ™ˆ
  • -v, --version show version of tool β€” Print version of the tool. short and sweet, she knows who she is πŸ’…
  • -S, --startTime <time to begin analyzing logfile from> β€” Time to begin analyzing logfile from. E.g. [28/Mar/2002:13:14:22 -0800]
  • -E, --endTime <time to stop analyzing logfile> β€” Time to stop analyzing logfile from. E.g. [28/Mar/2002:13:24:62 -0800]
  • -T, --minEtime <minimum etime to report unindexed searches> β€” The minimum etime that is required to record and report on an unindexed search. Default is zero.
  • -M, --reportFileMins <CSV output file> β€” This option creates a CSV report for spreadsheets. spreadsheet girlies rise up πŸ“
  • -m, --reportFileSecs <CSV output file> β€” This option creates a CSV report for spreadsheets. (yes, lowercase -m. she has two modes and they are both spreadsheet.)
  • -B, --bind <ALL | ANONYMOUS | Bind DN > β€” This generates a report based on either ALL bind dn's, anonymous binds, or a specific DN.
  • -V, --verbose <enable verbose output - includes all stats listed below except U> β€” Verbose output. everything, the whole menu, except U. main character energy 🌈
  • -[efcibaltnxgjuU] β€” the little letters. the alphabet soup. the best part. here's every single one, no skipping, i said what i said:
    • 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 Stats
    • n β€” Nentries Stats
    • x β€” Extended Operations
    • r β€” Most Requested Attribute Stats
    • g β€” Abandoned Operation Stats
    • j β€” Recommendations
    • u β€” Unindexed Search Stats (very detailed)
    • y β€” Connection Latency Stats
    • p β€” Open Connection ID Stats
    • U β€” Unindexed Search Summary
ngl bestie, u is very detailed. like, she will not be brief. hydrate before you run it 😭

🌈 USAGE 🌈

Examples (copy them exactly, they're sacred):

logconv.pl -s 10 -V access
logconv.pl -d "cn=directory manager"
/var/log/dirsrv/slapd-host/access*
logconv.pl -s 50 -ibgju access*
logconv.pl -S "[28/Mar/2002:13:14:22 -0800]" -E
"[28/Mar/2002:13:50:05 -0800]" -e access

see how she just works? iconic behavior honestly πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

logconv.pl was written by the 389 Project. ty for your service, legends 🫢


πŸ”₯ REPORTING BUGS πŸ”₯

Report bugs to https://github.com/389ds/389-ds-base/issues/new

if she's acting up, tell the devs. constructive feedback only, we're not mean here πŸ’œ


Copyright Β© 2001 Sun Microsystems, Inc. Used by permission.

Copyright Β© 2017 Red Hat, Inc.

This manual page was written by Michele Baldessari <michele@pupazzo.org>, for the Debian project (but may be used by others).

This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution.


and that's the whole page bestie, no crumbs left ✨ this version is from the March 31, 2017 era of LOGCONV.PL(1), and yeah β€” this one's from General Commands Manual territory. go read your logs, they're literally telling you a story and she's the translator πŸŒΈπŸ’–πŸ¦‹

πŸ“¦ where this page comes from
  • arch rolling: 389-ds-base 3.3.1-1 Β· GPL-3.0-only
  • centos-stream 10: 389-ds-base 3.3.0-4.el10 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND Zlib
  • centos-stream 9: 389-ds-base 2.9.0-5.el9 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND Zlib
  • fedora 43: 389-ds-base 3.1.3-10.fc43 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT) AND (CC-BY-4.0 AND MIT) AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (MIT OR CC0-1.0) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND PSF-2.0 AND Zlib
  • fedora 43: 389-ds-base 3.1.5-4.fc43 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND Unicode-3.0 AND (CC-BY-4.0 AND MIT) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND Zlib
  • fedora 44: 389-ds-base 3.2.0-15.fc44 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (CC-BY-4.0 AND MIT) AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (MIT OR CC0-1.0) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND PSF-2.0 AND Zlib
  • fedora 44: 389-ds-base-logconv-perl 3.2.3-5.fc44 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND Unicode-3.0 AND (CC-BY-4.0 AND MIT) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND Zlib
  • nixos 26.05: 389-ds-base 3.1.3
  • nixpkgs unstable: 389-ds-base 3.3.0
  • opensuse-leap 16.0: 389-ds 3.0.7~git2.2846d5288-160000.1.1 Β· GPL-3.0-or-later AND MPL-2.0
  • opensuse-leap 16.0: 389-ds 3.0.7~git2.2846d5288-160000.1.1 Β· GPL-3.0-or-later AND MPL-2.0
  • opensuse-leap 16.0: 389-ds 3.0.7~git2.2846d5288-160000.1.1 Β· GPL-3.0-or-later AND MPL-2.0
  • opensuse-leap 16.0: 389-ds 3.0.7~git2.2846d5288-160000.1.1 Β· GPL-3.0-or-later AND MPL-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms