parser: interpolate the date field with a reasonable value (#1960)
parser: interpolate the date field with a reasonable value (#1960)

Mehdi Hamidi reported that Fluent Bit always defaults to "31 December"
if the incoming records do not contain any date information. For example,
suppose that we have set up something like below:

    [PARSER]
      Name nginx
      Format regex
      Time_Format %H:%M:%S

... then Fluent Bit would parse '12:00:00' into '2020/12/31 12:00:00'
regardless of what the day is today.

This is a fix for the issue and make Fluent Bit to use "today" as a
reasonable default value.

Signed-off-by: Fujimoto Seiji <ef879192bb1e41d519c82cf76440dc8e9a530806@clear-code.com>
nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit