Commit d84dfb34 authored by Michael Tarleton's avatar Michael Tarleton

Installed and configured the logstash-filter-json filter for message parsing...

Installed and configured the logstash-filter-json filter for message parsing in JSON out of the box.
parent 08360215
FROM logstash:latest
\ No newline at end of file
FROM logstash:latest
# Install plugins
RUN logstash-plugin install logstash-filter-json
\ No newline at end of file
......@@ -6,6 +6,13 @@ input {
## Add your filters here
# Added a default json filter for parsing the "message" field
filter {
json {
source => "message"
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment