Add example for dictionary_path

This commit is contained in:
stoked 2013-05-04 23:52:43 -07:00
parent d7d9fe7fdc
commit fa7ec62fd6

View file

@ -38,6 +38,10 @@ class LogStash::Filters::Translate < LogStash::Filters::Base
# name with full path of external dictionary file.
# format of the table should be a YAML file which will be merged with the @dictionary.
# make sure you encase any integer based keys in quotes.
# The YAML file should look something like this:
#
# 100: Continue
# 101: Switching Protocols
config :dictionary_path, :validate => :path
# The destination field you wish to populate with the translation code.