Skip to content

Instantly share code, notes, and snippets.

View stevenjudd's full-sized avatar

Steven Judd stevenjudd

View GitHub Profile
@stevenjudd
stevenjudd / Get-sjSyslog-Function.ps1
Created July 24, 2025 04:28
Function to parse syslog content using PowerShell
function Get-sjSyslog {
param (
[string]$SyslogPath = "/var/log/syslog"
)
# Define regex patterns
$regexSystemd = @(
'^',
'(?<Date>\w{3}\s+\d+\s+\d{2}:\d{2}:\d{2})',
'\s+',
Retributive Justice looks backwards to find justice
If I punish you for bad behavior you will not do or repeat the bad behavior
Is there a need for punishment system that matches a system that matches a criminal justice system?
Restorative Justice looks forward
What can we do about the problem that just happened
Instead of asking who we ask why
There is too much going on in work to figure out the obvious problem