OCTO_EXTRACTOR(1)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– 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. πŸ™ˆ)

(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)

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_dispatcher
  • octo_parser
  • octo_uparser
  • octo_reporter
  • octo_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