Skip to content

Commit

Permalink
added logstash apache filter
Browse files Browse the repository at this point in the history
  • Loading branch information
2XXE-SRA committed Jul 5, 2018
1 parent 701f74a commit 053a117
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ input {
}
}

filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}"}
}
}

output {
elasticsearch {
hosts => "localhost:{{es_local_port}}"
Expand Down
10 changes: 5 additions & 5 deletions elastic/logstash/beats.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ input {
}
}

# The filter part of this file is commented out to indicate that it is
# optional.
# filter {
#
# }
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}"}
}
}

output {
elasticsearch {
Expand Down

0 comments on commit 053a117

Please sign in to comment.