Skip to content

Instantly share code, notes, and snippets.

gdm85 gdm85

Block or report user

Report or block gdm85

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gdm85 / rsyslog.lua
Created Jun 16, 2015 — forked from cristifalcas/gist:b0a8b6e6d312096f9515
example plugin by cristi1979 to handle /dev/log
View rsyslog.lua
local math = require "math"
local dt = require "date_time"
local l = require "lpeg"
local hostname = read_config("hostname")
local trim = read_config("trim") or true
local overwrite_timestamp = read_config("overwrite_timestamp") or false
local overwrite_hostname = read_config("overwrite_hostname") or false
You can’t perform that action at this time.