Skip to content

Instantly share code, notes, and snippets.

View christophersjchow's full-sized avatar

Christopher Chow christophersjchow

View GitHub Profile
@christophersjchow
christophersjchow / pipeline.conf
Last active November 28, 2022 14:52
Logstash pipeline and grok patterns for Unifi Dream Machine (UDM) 1.8.6
input {
udp {
port => 10514
type => unifi_syslog
}
}
filter {
if [type] == "unifi_syslog" {
grok {
var crypto = require('crypto');
var base64url = require('base64url');
/** Sync */
function randomStringAsBase64Url(size) {
return base64url(crypto.randomBytes(size));
}

Keybase proof

I hereby claim:

  • I am christophersjchow on github.
  • I am christopherchow (https://keybase.io/christopherchow) on keybase.
  • I have a public key ASCLB6hrDcq8BW9xjdI22OVRn4gZx6E1bkij0KmCsT7YWgo

To claim this, I am signing this object: