# fluent.conf
<source>
type dummydata_producer
tag dummy.data
rate 500
dummydata0 {\"type\":\"sample\",\"code\":50,\"format\":\"json string allowed\"}
dummydata1 {\"message\":\"other format needed?\"}
dummydata2 {\"comment\":\"N of dummydataN is number and not limited\"}
@label @raw
</source>
$ bundle exec fluentd -c fluent.conf
~/src/github.com/fluent/fluentd/lib/fluent/config/parser.rb:47:in `parse!': parse error at fluentd.conf line 9 (Fluent::ConfigParseError)
from /home/game/src/github.com/fluent/fluentd/lib/fluent/config/parser.rb:33:in `parse!'
from /home/game/src/github.com/fluent/fluentd/lib/fluent/config/parser.rb:8:in `parse'
from /home/game/src/github.com/fluent/fluentd/lib/fluent/config.rb:33:in `parse'
--use-v1-config
が必須な旨のエラーメッセージが欲しいかな.
全メッセージにとりあえず flowcounter を当てる、とかやりたい。
filter はまだないようだ。残念。