SYSLOGD-SIMPLE(1p)

πŸ“¦
version 0.16 Β· 2 versions
  • 0.16 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.16 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ SYSLOGD-SIMPLE(1p) ✨

okay so bestie, this is SYSLOGD-SIMPLE from the User Contributed Perl Documentation section β€” a lil' syslog server that just... vibes and listens. πŸ’–


🌸 NAME 🌸

SYSLOGD-SIMPLE β€” Simple Syslog Server. that's it, that's the name, she's simple and she knows it πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

syslod-simple [options]

(yes the synopsis spells it syslod-simple and the title spells it SYSLOGD-SIMPLE β€” no we are NOT fixing it, it's canon, iykyk 🫢)


πŸ¦‹ DESCRIPTION πŸ¦‹

she sits there and listens for Syslog messages, then logs them to your console and optionally to a file. she tries to decode stuff according to the RFC 3164 message format, which is the classic old-school syslog vibe ✨

the Syslog columns she gives you are, in order:

Source IP Address
Source UDP port
Facility
Severity
Timestamp (or 0 if not matched)
Hostname  (or 0 if not matched)
Message

ngl that 0 if not matched thing is doing so much heavy lifting β€” if she can't find a timestamp or a hostname, you're just getting a literal 0 in that slot. no cap. 😭


πŸ’… OPTIONS πŸ’…

  • -4 β€” force IPv4. old reliable, the IPv4 of it all 🌈
  • -6 β€” force IPv6. and listen, this one overrides -4, she said what she said πŸ‘‘
  • -d <dir> / --directory β€” the output file directory. DEFAULT: (or not specified) [Current]. so if you don't say anything, she's staying right where she is, in the current directory, main character energy πŸŽ€
  • -i # / --interface β€” the UDP Port to listen on. DEFAULT: (or not specified) 514. the classic port, she's not trying to be different πŸ’–
  • -l / --list β€” output list format. DEFAULT: (or not specified) Line. so by default you get line format, but flip this and it's giving... a list ✨
  • -t / --time β€” print time in human-readable yyyymmddhhmmss format. DEFAULT: (or not specified) Unix epoch. so raw seconds by default, or cute readable digits if you say so πŸ•
  • -w β€” log to "syslogd.log". one w, one file, simple as πŸ“
  • -w -w β€” log by facility in "<facility>.log". stack it, bestie, now every facility gets her own lil file 🧚
  • -w -w -w β€” log by hostname in "<host>.log". three ws deep and now it's sorted by hostname, absolutely unhinged, absolutely iconic πŸ’€

πŸ’œ LICENSE πŸ’œ

this software is released under the same terms as Perl itself. and if you don't know what that means... she's telling you to go visit <http://perl.com/>. respectfully. πŸ™ˆ


🌟 AUTHOR 🌟

Copyright (C) Michael Vincent 2010

<http://www.VinsWorld.com>

All rights reserved


and that's the whole page, bestie β€” brought to you by perl v5.34.0 on 2022-06-30, from the User Contributed Perl Documentation era of the internet. slay, stay logged, and don't forget your third -w πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from