キモブロ

Please spy check please, Fucking retard

fluentdで冗長なUTF8文字が来た時に終了してしまわない方法

/etc/fluentd/fluentd.confで

ignore_invalid_record true

すればいいのか


記載する場所は、type mongoのところ
↓こんな感じで

<match nginx.**>
  type copy
  <store>
    type mongo
    host 192.168.1.1
    database fluent
    collection access
    ignore_invalid_record true
  </store>
</match>

fluentdの設定というか、ただしくはfluentd-plugin-mongoの設定だな