Skip to content

Commit 17a5016

Browse files
committed
Merge pull request #23 from MWilkinson/remove-patterns
remove pattern file
2 parents acf3024 + 48c6a5c commit 17a5016

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

2010_filter_section_a_parse.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ filter {
66
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77
grok {
88
match => {
9-
"rawSectionA" => "\[%{L1_TIMESTAMP:modsec_timestamp}\] %{DATA:uniqueId} %{IP:sourceIp} %{INT:sourcePort} %{IP:destIp} %{INT:destPort}"
9+
"rawSectionA" => "\[(?<modsec_timestamp>%{MONTHDAY}/%{MONTH}/%{YEAR}:%{TIME} [-\+]{1,2}%{INT})\] %{DATA:uniqueId} %{IP:sourceIp} %{INT:sourcePort} %{IP:destIp} %{INT:destPort}"
1010
}
11-
patterns_dir => "./patterns/logstash_modsecurity_patterns"
1211
}
1312
}
14-
}
13+
}

logstash_modsecurity_patterns

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)