Skip to content

Commit 9f9d640

Browse files
committed
Add description to parameters
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
1 parent c1418a2 commit 9f9d640

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/fluent/plugin/parser_grok.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ class GrokParser < Parser
2222
config_param :name, :string, default: nil
2323
desc "The pattern of grok"
2424
config_param :pattern, :string
25+
desc "If true, keep time field in the record."
2526
config_param :keep_time_key, :bool, default: false
27+
desc "Specify time field for event time. If the event doesn't have this field, current time is used."
2628
config_param :time_key, :string, default: "time"
29+
desc "Process value using specified format. This is available only when time_type is string"
2730
config_param :time_format, :string, default: nil
31+
desc "Use specified timezone. one can parse/format the time value in the specified timezone."
2832
config_param :timezone, :string, default: nil
2933
end
3034

0 commit comments

Comments
 (0)