2016-07-16 9 views
2

collectd cpuプラグインを使用していて、logstashを使用してログメッセージを収集しています。私は次のエラーが表示されるlogstashで、誰もそれを修正する方法を知っていますか?Collectd cpu pluginタイプdisk_io_timeの値が無効

{:timestamp=>"2016-07-15T21:03:53.481000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=1", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.482000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=0", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.482000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=1", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.483000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=0", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.484000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=1", :level=>:error} 

私のcollectdバージョン - 5.5.1

答えて

3

くださいlogstash collectd documentation:なしtypes.dbが提供されていない

場合は含まtypes.dbは(現在は5.4.0)が使用されます

collectd 5.5.1にいくつかの変更があったようです(here参照)。したがって、あなたが明示的に例えば、types.dbを設定する必要があります。

input { 
    udp { 
    codec => collectd { 
     typesdb => [ '/usr/share/collectd/types.db'] 
    } 
    } 
} 

は、インストール中にtypes.dbの位置を決定するために、https://collectd.org/documentation/manpages/types.db.5.shtmlを参照してください。

関連する問題