Skip to content

Commit

Permalink
Second fix for Apache hyphen issue
Browse files Browse the repository at this point in the history
Commit 02376d2 wasn't enough
  • Loading branch information
MarcOverIP authored Feb 12, 2020
1 parent 02376d2 commit ec4dfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elkserver/logstash/conf.d/30-redir-apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ filter {

# Let's first trim the syslog-like info from the log line
grok {
match => { "message" => [ "\[%{HTTPDATE:redirtraffic.timestamp}\] (%{SYSLOGHOST:sysloghostname}|) %{PROG:syslogprogram}(?:\[%{POSINT:syslogpid}\]): %{GREEDYDATA:messagenosyslog}" ] }
match => { "message" => [ "\[%{HTTPDATE:redirtraffic.timestamp}\] (%{SYSLOGHOST:sysloghostname}|-) %{PROG:syslogprogram}(?:\[%{POSINT:syslogpid}\]): %{GREEDYDATA:messagenosyslog}" ] }
}

# now matching the real Apache log lines. We have several log line formats we need to match:
Expand Down

0 comments on commit ec4dfca

Please sign in to comment.