Skip to content

Commit

Permalink
Deprecate the input plugin's base charset setting.
Browse files Browse the repository at this point in the history
Refer uses to the codecs instead.

Fixes elastic#3044

Fixes elastic#3395
  • Loading branch information
jordansissel committed Jun 9, 2015
1 parent 0d82ae8 commit 68b8693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/inputs/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class LogStash::Inputs::Base < LogStash::Plugin
# or in another character set other than `UTF-8`.
#
# This only affects `plain` format logs since json is `UTF-8` already.
config :charset, :validate => ::Encoding.name_list, :deprecated => true
config :charset, :deprecated => "Use the codec setting instead. For example: input { %PLUGIN% { codec => plain { charset => \"UTF-8\" } }"

# If format is `json`, an event `sprintf` string to build what
# the display `@message` should be given (defaults to the raw JSON).
Expand Down

0 comments on commit 68b8693

Please sign in to comment.