Logstash2.4 Failed action. status 403


(Chao) #1
    elasticsearch {
        index => "%{type}-%{+YYYY.MM.dd}"
        codec => "json"
        hosts => ["172.16.19.28"]
		flush_size => 5000
    }

Failed action. {:status=>403, :action=>["index", {:_id=>nil, :_index=>"cat_zeyi_php_log-2017.03.30", :_type=>"cat_zeyi_php_log", :_routing=>nil}, #<LogStash::Event:0x2dfd07a0 @metadata_accessors=#<LogStash::Util::Accessors:0xdf93565 @store={}, @lut={}>, @cancelled=false, @data={"@timestamp"=>"2017-03-30T01:25:31.010Z", "beat"=>{"hostname"=>"cvm-011.class.tj.idc.chinawayltd.com", "name"=>"cvm.vpc-7rx1i8p0.qc-bj.172.18.3.3", "version"=>"5.2.2"}, "fields"=>{"redis_index"=>"webapps"}, "input_type"=>"log", "message"=>"2017-03-30 09:20:49|124.115.206.149|/inside.php?t=json&m=zeyihighway&f=getCarnum|SQLDEBUG|SQL|Pbatis.query|{"dataSource":"","statement":"\/master\/ SELECT carnum, string1, string2, string3, string4, maindrivername, maindriverphone, maindriverid FROM zeyi_truck WHERE deleted=0 AND carnum LIKE \"%3556%\" ;"}####", "offset"=>325947597, "source"=>"/data/web_data/web/app/cat_zeyi/tmp/log/SQLDEBUG.today.log", "tags"=>["g7s"], "type"=>"cat_zeyi_php_log", "@version"=>"1"}, @metadata={}, @accessors=#<LogStash::Util::Accessors:0x7fbf39c2 @store={"@timestamp"=>"2017-03-30T01:25:31.010Z", "beat"=>{"hostname"=>"cvm-011.class.tj.idc.chinawayltd.com", "name"=>"cvm.vpc-7rx1i8p0.qc-bj.172.18.3.3", "version"=>"5.2.2"}, "fields"=>{"redis_index"=>"webapps"}, "input_type"=>"log", "message"=>"2017-03-30 09:20:49|xxxxxx|/inside.php?t=json&m=zeyihighway&f=getCarnum|SQLDEBUG|SQL|Pbatis.query|{"dataSource":"","statement":"\/master\/ SELECT carnum, string1, string2, string3, string4, maindrivername, maindriverphone, maindriverid FROM zeyi_truck WHERE deleted=0 AND carnum LIKE \"%3556%\" ;"}####", "offset"=>325947597, "source"=>"/data/web_data/web/app/cat_zeyi/tmp/log/SQLDEBUG.today.log", "tags"=>["g7s"], "type"=>"cat_zeyi_php_log", "@version"=>"1"}, @lut={"[type]"=>[{"@timestamp"=>"2017-03-30T01:25:31.010Z", "beat"=>{"hostname"=>"cvm-011.class.tj.idc.chinawayltd.com", "name"=>"cvm.vpc-7rx1i8p0.qc-bj.172.18.3.3", "version"=>"5.2.2"}, "fields"=>{"redis_index"=>"webapps"}, "input_type"=>"log", "message"=>"2017-03-30 09:20:49|124.115.206.149|/inside.php?t=json&m=zeyihighway&f=getCarnum|SQLDEBUG|SQL|Pbatis.query|{"dataSource":"","statement":"\/master\/ SELECT carnum, string1, string2, string3, string4, maindrivername, maindriverphone, maindriverid FROM zeyi_truck WHERE deleted=0 AND carnum LIKE \"%3556%\" ;"}####", "offset"=>325947597, "source"=>"/data/web_data/web/app/cat_zeyi/tmp/log/SQLDEBUG.today.log", "tags"=>["g7s"], "type"=>"cat_zeyi_php_log", "@version"=>"1"}, "type"], "[fields][redis_index]"=>[{"redis_index"=>"webapps"}, "redis_index"], "type"=>[{"@timestamp"=>"2017-03-30T01:25:31.010Z", "beat"=>{"hostname"=>"cvm-011.class.tj.idc.chinawayltd.com", "name"=>"cvm.vpc-7rx1i8p0.qc-bj.172.18.3.3", "version"=>"5.2.2"}, "fields"=>{"redis_index"=>"webapps"}, "input_type"=>"log", "message"=>"2017-03-30 09:20:49|124.115.206.149|/inside.php?t=json&m=zeyihighway&f=getCarnum|SQLDEBUG|SQL|Pbatis.query|{"dataSource":"","statement":"\/master\/ SELECT carnum, string1, string2, string3, string4, maindrivername, maindriverphone, maindriverid FROM zeyi_truck WHERE deleted=0 AND carnum LIKE \"%3556%\" ;"}####", "offset"=>325947597, "source"=>"/data/web_data/web/app/cat_zeyi/tmp/log/SQLDEBUG.today.log", "tags"=>["g7s"], "type"=>"cat_zeyi_php_log", "@version"=>"1"}, "type"]}>>], :response=>{"index"=>{"_index"=>"cat_zeyi_php_log-2017.03.30", "_type"=>"cat_zeyi_php_log", "_id"=>nil, "status"=>403, "error"=>{"type"=>"index_closed_exception", "reason"=>"closed", "index"=>"cat_zeyi_php_log-2017.03.30"}}}, :level=>:warn}

do anyone knows what's the problem?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.