mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- make common settings like filter 'remove_tag' use the literal plugin
name instead of the text "myfilter" in examples.
This commit is contained in:
parent
9d701cf6cc
commit
8a2708045a
2 changed files with 4 additions and 3 deletions
|
@ -197,6 +197,7 @@ class LogStashConfigDocGenerator
|
|||
File.open(path, "w") do |out|
|
||||
html = template.result(binding)
|
||||
html.gsub!("%VERSION%", LOGSTASH_VERSION)
|
||||
html.gsub!("%PLUGIN%", @name)
|
||||
out.puts(html)
|
||||
end
|
||||
else
|
||||
|
|
|
@ -28,7 +28,7 @@ class LogStash::Filters::Base < LogStash::Plugin
|
|||
# syntax. Example:
|
||||
#
|
||||
# filter {
|
||||
# myfilter {
|
||||
# %PLUGIN% {
|
||||
# add_tag => [ "foo_%{somefield}" ]
|
||||
# }
|
||||
# }
|
||||
|
@ -42,7 +42,7 @@ class LogStash::Filters::Base < LogStash::Plugin
|
|||
# syntax. Example:
|
||||
#
|
||||
# filter {
|
||||
# myfilter {
|
||||
# %PLUGIN% {
|
||||
# remove_tag => [ "foo_%{somefield}" ]
|
||||
# }
|
||||
# }
|
||||
|
@ -55,7 +55,7 @@ class LogStash::Filters::Base < LogStash::Plugin
|
|||
# Example:
|
||||
#
|
||||
# filter {
|
||||
# myfilter {
|
||||
# %PLUGIN% {
|
||||
# add_field => [ "sample", "Hello world, from %{@source}" ]
|
||||
# }
|
||||
# }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue