Skip to content

Instantly share code, notes, and snippets.

View pattonwebz's full-sized avatar
:octocat:
Working from home

William Patton pattonwebz

:octocat:
Working from home
View GitHub Profile
@pattonwebz
pattonwebz / wpf-all-sites.php
Created June 19, 2025 17:57
Stores log of all sites that call home looking for updates
<?php
/*
Plugin Name: WPF All Sites
Plugin URI: verygoodplugins.com
Description: Stores log of all sites that call home looking for updates
Version: 1.0
Author: vergoodplugins
Author URI: verygoodplugins.com
License:
@pattonwebz
pattonwebz / grok-pattern.md
Created December 28, 2020 14:56 — forked from iamstoick/grok-pattern.md
Pantheon nginx-access.log Grok pattern
%{IPORHOST:remoteaddress} - - \[%{HTTPDATE:timelocal}\]  "%{WORD:httpmethod} %{URIPATHPARAM:request} HTTP/%{NUMBER:httpversion}" %{NUMBER:response} (?:%{NUMBER:bytes}|-) (?:"(?:%{URI:referrer}|-)"|%{QS:referrer}) %{QS:useragent} %{BASE10NUM:request_duration} %{QS:xforwardedfor}