From 6cbc08678dfd40d7f4aa0733bb6a26aec29f8ab9 Mon Sep 17 00:00:00 2001 From: Fujimoto Seiji Date: Thu, 6 Dec 2018 11:01:17 +0900 Subject: [PATCH] parser: fix the description of the default behaviour of `time_key` Several parser plugins override the default value of the parameter, which is not mentioned in the current manual page. This patch adds some documentation about it. Signed-off-by: Fujimoto Seiji --- docs/v1.0/parse-section.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/v1.0/parse-section.txt b/docs/v1.0/parse-section.txt index 90efa946..9258425f 100644 --- a/docs/v1.0/parse-section.txt +++ b/docs/v1.0/parse-section.txt @@ -61,6 +61,7 @@ These parameters default value will be overwritten by individual parser plugins. * example: `types user_id:integer,paid:bool,paid_usd_amount:float` * **time_key** (string) (optional): Specify time field for event time. If the event doesn't have this field, current time is used. * Default: `nil` + * Note that [json](parser_json), [ltsv](parser_ltsv) and [regexp](parser_regexp) override the default value of this parameter and set it to `time` by default. * **null_value_pattern** (string) (optional): Specify null value pattern. * Default: `nil` * **null_empty_string** (bool) (optional): If `true`, empty string field is replaced with `nil`.