Created
June 11, 2024 17:08
-
-
Save UltimateNova1203/de73aa3f40835599c30ee10931667325 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RemoteIP - RemoteUser [Time] | |
# "Request" Status Bytes | |
# "Referrer" "UserAgent" "X-Forwarded-For" | |
# IP Address, Time | |
regexp=^(.*)] | |
colours=bold cyan | |
- | |
# Request | |
regexp= ".*" \b | |
colours=green | |
- | |
# Request invalid | |
regexp= ".*" ((4|5)[0-9]{1,2})\b | |
colours=bold green | |
- | |
# HTTP status | |
regexp=[0-9]{1,3} [0-9]{1,} | |
colours=yellow | |
- | |
# HTTP status invalid | |
regexp=((4|5)[0-9]{1,2}) [0-9]{1,} | |
colours=bold yellow | |
- | |
# Invalid UserAgent | |
regexp=(\b ".*" ".*" ".*")$ | |
colours=bold magenta | |
- | |
# IP Referrer, UserAgent, X-Forwarded-For | |
regexp=(\b ".*" ".*(Mozilla|Safari|Edge|Chrome|Mastodon).*" ".*")$ | |
colours=magenta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment