Commit Graph

14 Commits

Author SHA1 Message Date
Kenji Okimoto
e9598a6110
Handle non string value such as integer
The parser plugin may convert type of field value to something.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-10-03 11:01:52 +09:00
Kenji Okimoto
9b0abd9338
Remove garbage
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-14 15:36:26 +09:00
Kenji Okimoto
81be7792bd
Rewrite RegexpPreview::MultiLine using Fluentd's parser plugin
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-14 15:33:52 +09:00
Kenji Okimoto
38d4fba7e5
Rewrite RegexpPreview::SingleLine using Fluentd's parser plugin instance
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-14 14:21:09 +09:00
Kenji Okimoto
838a3e484a Change argument name format to parse_type
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-13 17:09:56 +09:00
Kenji Okimoto
1c1be7bfc7 Use new plugin API for parser plugins
This commit will fail after release Fluentd v1.2.0.
Because new version of Fluentd will update the regular expression of
some plugins.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:00:42 +09:00
uu59
33656e29f4 Fix #208 for multiline preview 2016-12-09 16:18:28 +09:00
Masahiro Nakagawa
ed260c2a70 Use Config::Element instead of raw Hash 2016-02-25 07:37:05 +09:00
yoshihara
2a2b968775 Remove duplicated private
The first `private` is at L23.
2015-04-23 15:09:51 +09:00
yoshihara
874efd1f32 Update comment to match with implementation 2015-04-23 14:36:49 +09:00
yoshihara
74cff38dc9 Assign nil to unused instance variables 2015-04-21 18:41:02 +09:00
yoshihara
60dbf17222 Add missing time_format getting from definition 2015-04-21 18:41:02 +09:00
yoshihara
ceaed87dad Extract JSON generating for preview to each RegexpPreview class 2015-04-21 18:41:02 +09:00
uu59
79f0b1fe28 Refactor 2015-04-20 14:22:21 +09:00