mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Add example for dictionary_path
This commit is contained in:
parent
d7d9fe7fdc
commit
fa7ec62fd6
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue