Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions recipes/apache-json-logs/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ input {
path => "/var/log/httpd/access_json.log"
type => apache

# This format tells logstash to expect 'logstash' json events from the file.
format => json_event
# This codec tells logstash to expect json events seperated by newlines from the file.
codec => json_lines {
charset => "UTF-8"
}
}
}

Expand Down