OCTO_EXTRACTOR(1)
π OCTO_EXTRACTOR(1) π
okay bestie, sit down, hydrate, because today we're meeting octo_extractor β a lil Perl situation from the User Contributed Perl Documentation collection, and honestly? she's giving log extraction main character energy. πβ¨
πΈ NAME πΈ
octo_extractor β the Octopussy Logs Extractor program. no cap, that's literally her whole job description and she is obsessed with it. π
β¨ SYNOPSIS β¨
the way she wants to be called. look at her go:
octo_extractor --device <device> --service <service> --loglevel
<loglevel> --taxonomy <taxonomy> --msgid <msgid> --begin
YYYYMMDDHHMM --end YYYYMMDDHHMM [ --include '<regexp to include>' ]
[ --exclude '<regexp to exclude>' ] [ --pid_param <string> ] [
--output <outputfile> ]
see those square brackets? that's the "optional, bestie, but you could" section. the rest? mandatory. she's not asking. π«Ά
π¦ DESCRIPTION π¦
octo_extractor is the program that the Octopussy Project uses to extract Logs. that's it, that's the pitch β she extracts logs, she does it well, she doesn't over-explain herself. iconic behavior fr fr. π
π FUNCTIONS π
time to meet the whole friend group. every single one of them, no skipping, i promised. π
π
Help()
Prints Help. short queen, says what she means.
β Progress($msg, $num, $nb_match)
Sets progress status. she's keeping you posted, she's not ghosting you mid-extraction.
π Get_Messages_To_Parse($services, $loglevel, $taxonomy, $msgid)
Returns list of Messages to parse. literally her lil to-do list, and she will be checking it twice.
π§ Line_Match_Regexps
(no description in the original β she's mysterious like that. lowkey a vibe. π)
π Print_Lines($OUT, $ouput, $logs)
(yes, that's spelled $ouput in the original and we are not fixing her, she's perfect. π)
π₯ File_Handler_With_Filter($f, $logs, $includes, $excludes, $msg_to_parse)
πΈ File_Handler_Without_Filter($f, $logs, $includes, $excludes)
π Print_Logs($devices, $services, $loglevel, $taxo, $msgid, $begin, $end, $re_incl, $re_excl)
Prints Logs. that's her moment, that's her era, that's the whole point. β¨
π End()
Ends Extraction. she says goodbye when she's done, unlike some programs. periodt.
π AUTHOR π
Sebastien Thebert <octo.devel@gmail.com> β the actual legend behind all this. thank you for your service, king. π«Ά
π SEE ALSO π
the whole squad, go say hi:
octo_dispatcherocto_parserocto_uparserocto_reporterocto_scheduler
iykyk β it's a whole ecosystem and she's just one gorgeous lil piece of it. ππ
ngl, if any of this ever looks like undefined behavior or danger, treat it with the respect it deserves β i'm just the messenger relaying what the page says, not inventing new lore. πΈ
and that's a wrap, bestie! π this page is living on perl v5.22.2, dated 2016-05-04, and yes she is still slaying in that vintage way. mwah. ππ
π¦ where this page comes from
- ubuntu jammy: octopussy 1.0.6-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms