LOGNORMALIZER(1)
π LOGNORMALIZER β like, the manual page, but make it make sense π
okay bestie, sit down, hydrate, because we're about to talk about lognormalizer, a lil User Command from the β¨ lognormalizer 2.0.6 β¨ era (June 2022, if you're keeping track π).
πΈ NAME πΈ
lognormalizer β the girl whose whole job is testing and debugging liblognorm rulebases π
β¨ OPTIONS β¨
okay this is the main character section, no skimming, we're reading all of it fr fr π
-r<rulebase>β the rulebase you wanna use. this one is REQUIRED, like not optional, like the party does not start without it, periodt.-Hβ prints a lil summary line for you: the nbr of msgs Handled π«Ά-Uβ prints the number of unparsed messages. and like, only if it's non-zero, because we're not doing unnecessary noise here.-e<json|xml|csv|cee-syslog|raw>β switches up the output format. default isjson, obviously. andrawis exactly like the input, no filter, no makeup, just vibes. super useful when you pair it with-p/-Pto extract your known good/bad messages π₯-E<format>β encoder-specific format. this one's forCSV, so go read the docs, bestie, i'm not playing π-Tβ includes'event.tags'in JSON format. cute lil tags, we love her.-oallowRegexβ allows regexp matching. but read the docs about the performance penalty first, it's giving consequences π-oaddRuleβ adds a mockup of the matching rule. a lil fakeout, for science π§-oaddRuleLocationβ adds the location of the matching rule to metadata. so you know where it lives π-oaddExecPathβ adds theexec_pathattribute to output.-oaddOriginalMsgβ always adds the original message to output, not just in the error case. clingy in the best way π-pβ print back only if the message has been parsed successfully. a lil filter, a lil slay β¨-Pβ print back only if the message has NOT been parsed successfully. the flop detector, we stan π«Ά-Lβ adds source file line number information to unparsed line output. receipts, basically π§Ύ-t<tag>β print back only the messages matching the tag. tag-specific girlies only π-vβ print debug. and when you use it 3 times, it prints the parse DAG. yes, three. count them. no cap.-Vβ print version information. identity check βοΈ-dβ print DOT file to stdout and exit. that's it, that's the whole thing, bye π-d<filename>β save the DOT file to the filename instead. same energy, different destination.-s<filename>β print parse dag statistics and exit π-S<filename>β print extended parse dag statistics and exit. and yes, it includes-s, so it's the deluxe version, the upgraded package, the β¨iconicβ¨ one.-x<filename>β print statistics as a dot file (called only). lowercase energy, very specific purpose π
and that's the whole page, bestie!! this was lognormalizer 2.0.6, dated June 2022, from the User Commands corner of the manual-verse π go parse something good, drink water, and remember: if your messages aren't parsing, it's not you, it's the rulebase πβ¨π¦
π¦ where this page comes from
- debian bookworm: liblognorm-utils 2.0.6-4 Β· LGPL-2.1-or-later
- debian trixie: liblognorm-utils 2.0.6-5 Β· LGPL-2.1-or-later
- ubuntu noble: liblognorm-utils 2.0.6-4build1 Β· LGPL-2.1-or-later
- ubuntu questing: liblognorm-utils 2.0.6-5build1
- ubuntu resolute: liblognorm-utils 2.0.9-1 Β· LGPL-2.1-or-later
- ubuntu stonking: liblognorm-utils 2.1.0+really-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms