Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logstash.conf example to comply with deprecation in logstash 1.2.x #83

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
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