Skip to content

Instantly share code, notes, and snippets.

poolski / polling.json
Created October 16, 2023 10:57
Polling widget example
"y_axis": {
"format": "currency",
"unit": "USD"
"series": [
"name": "GBP -> USD",
"data": [
poolski / envoy-config.yaml
Last active February 8, 2023 03:28
Sample Envoy Config
# Envoy requires this to be configured, even if you don't intend to use the admin interface.
access_log_path: "/var/log/envoy/envoy-admin.log"
port_value: 8001
# Identify your node/pod/instance/whatever.
poolski /
Created March 18, 2019 10:34
Effects of surviving a mentally unstable parent or abusive relationship.

Tumblr user geekdawson:

one of the more valuable things I’ve learned in life as a survivor of a mentally unstable parent is that it is likely that no one has thought through it as much as you have.

no, your friend probably has not noticed they cut you off four times in this conversation.

no, your brother didn’t realize his music was that loud while you were studying.

no, your bff or S.O. doesn’t remember that you’re on a tight deadline right now.

Keybase proof

I hereby claim:

  • I am poolski on github.
  • I am poolski ( on keybase.
  • I have a public key ASAWL03Y3Y7s4DG5vXEtjnHqkuPSlZVjsqggFm__HBzQBAo

To claim this, I am signing this object:

type: "authlog"
- "/var/log/auth.log"
type: "syslog"
poolski / postfix.grok
Last active April 16, 2022 03:54
Usefuk Logstash GROK patterns
# Syslog stuff
COMPONENT ([\w._\/%-]+)
COMPID postfix\/%{COMPONENT:component}(?:\[%{POSINT:pid}\])?
# Milter
HELO (?:\[%{IP:helo}\]|%{HOST:helo}|%{DATA:helo})
MILTERCONNECT %{QUEUEID:qid}: milter-reject: CONNECT from %{RELAY:relay}: %{GREEDYDATA:milter_reason}; proto=%{WORD:proto}
MILTERUNKNOWN %{QUEUEID:qid}: milter-reject: UNKNOWN from %{RELAY:relay}: %{GREEDYDATA:milter_reason}; proto=%{WORD:proto}
poolski / logstash-forwarder
Created March 27, 2014 12:01
Logstash-forwarder simple config
"network": {
"servers": [ "" ],
"ssl certificate": "/etc/logstashforwarder/ssl/logstashforwarder.crt",
"ssl ca": "/etc/logstashforwarder/ssl/ca.crt",
"ssl key": "/etc/logstashforwarder/ssl/logstashforwarder.key",
"timeout": 15
"files": [
poolski / elasticsearch.yml
Last active August 29, 2015 13:57
Logstash Lab Setup
# /etc/elasticsearch/elasticsearch.yml
# Remember the cluster name if you ever add extra nodes logstash
# If you leave blank, it'll autogenerate a node name each time you start ES, picking from 3000 marvel comicbook heroes. "log-indexer"
node.master: true true
# Set the bind address specifically (IPv4 or IPv6)