Skip to content

Instantly share code, notes, and snippets.

@jonbrouse
Forked from brandond/vpc-flowlog
Created November 25, 2016 16:21
Show Gist options
  • Save jonbrouse/89a8ec7784ee98752c931734ce2245a6 to your computer and use it in GitHub Desktop.
Save jonbrouse/89a8ec7784ee98752c931734ce2245a6 to your computer and use it in GitHub Desktop.
logstash-grok-pattern-vpc-flow-log
# VPC Flow Log fields
# version account-id interface-id srcaddr dstaddr srcport dstport protocol packets bytes start end action log-status
# http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html#flow-log-records
%{NUMBER:version} %{NUMBER:account-id} %{NOTSPACE:interface-id} %{NOTSPACE:srcaddr} %{NOTSPACE:dstaddr} %{NOTSPACE:srcport} %{NOTSPACE:dstport} %{NOTSPACE:protocol} %{NOTSPACE:packets} %{NOTSPACE:bytes} %{NUMBER:start} %{NUMBER:end} %{NOTSPACE:action} %{NOTSPACE:log-status}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment