Closed mguryanov closed 7 years ago
Hi! I have some trouble
2016-12-30 16:46:16 +0500 [warn]: plugin/in_tail.rb:318:block in convert_line_to_event: pattern not match: "GET hello world" 2016-12-30 16:46:16 +0500 [warn]: plugin/in_tail.rb:318:block in convert_line_to_event: pattern not match: "complited"
config
2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-mixin-config-placeholders' version '0.4.0' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-mixin-plaintextformatter' version '0.2.6' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-kafka' version '0.3.1' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-mongo' version '0.7.15' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-multi-format-parser' version '0.0.2' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-rewrite-tag-filter' version '1.5.5' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-s3' version '0.7.1' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-scribe' version '0.10.14' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-td' version '0.10.29' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-td-monitoring' version '0.2.2' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-webhdfs' version '0.4.2' 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:126:block in configure: gem 'fluentd' version '0.12.29' 2016-12-30 16:46:14 +0500 [info]: fluent/agent.rb:129:add_match: adding match pattern="**" type="forward" 2016-12-30 16:46:14 +0500 [info]: plugin/out_forward.rb:148:block in configure: adding forwarding server 'fluentd' host="192.168.99.245" port=24224 weight=60 plugin_id="object:3fd183b85ddc" 2016-12-30 16:46:14 +0500 [info]: fluent/root_agent.rb:147:add_source: adding source type="tail" 2016-12-30 16:46:14 +0500 [info]: fluent/engine.rb:133:configure: using configuration file: <ROOT> <source> @type tail format multi_format path /tmp/test.log pos_file /var/log/td-agent/fpm.error.pos tag fpm-error.* <pattern> format multiline format_firstline /^GET/ format1 /GET (?<message>.*)/ format2 /complited/ </pattern> </source>
and simple log lines
GET hello world complited
my env
3.13.0-77-generic Description: Ubuntu 14.04.3 LTS
ok I saw your NOTE about multiline parsers close it
Hi! I have some trouble
config
and simple log lines
my env