File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments