Invalid_index_name_exception when version up to 7.x

I've upgrade ELK 6.x to 7.X
But I got error I haven't got when I use 6.x.
I used with below index name pattern when 6.x
If I modify the index name , it suffer to change whole system.

Q1. Is it added index naming rule when 7.x ?

Q2. Is there ignore or avoid the "invalid_index_name_exception" ?

Thanks.

[2020-06-05T08:04:41,452][ERROR][logstash.outputs.elasticsearch][main][59d23a2ceb83dab798fb9967fab838e157b1757542f7da3bf6c09ae46da8adaa] Could not index event to Elasticsearch. {:status=>400, :action=>["ind
ex", {:_id=>nil, :_index=>"logstash-2020-06-05_06:21", :routing=>nil, :_type=>"_doc"}, #LogStash::Event:0x40e5d17e], :response=>{"index"=>{"_index"=>"logstash-2020-06-05_06:21", "_type"=>"_doc", "_id"=>ni
l, "status"=>400, "error"=>{"type"=>"invalid_index_name_exception", "reason"=>"Invalid index name [logstash-2020-06-05_06:21], must not contain ':'", "index_uuid"=>"na", "index"=>"logstash-2020-06-05_06:2
1"}}}}
[2020-06-05T08:04:41,448][ERROR][logstash.outputs.elasticsearch][main][59d23a2ceb83dab798fb9967fab838e157b1757542f7da3bf6c09ae46da8adaa] Could not index event to Elasticsearch. {:status=>400, :action=>["ind
ex", {:_id=>nil, :_index=>"logstash-2020-06-05_07:13", :routing=>nil, :_type=>"_doc"}, #LogStash::Event:0x43c54ee9], :response=>{"index"=>{"_index"=>"logstash-2020-06-05_07:13", "_type"=>"_doc", "_id"=>ni
l, "status"=>400, "error"=>{"type"=>"invalid_index_name_exception", "reason"=>"Invalid index name [logstash-2020-06-05_07:13], must not contain ':'", "index_uuid"=>"na", "index"=>"logstash-2020-06-05_07:1
3"}}}}
[2020-06-05T08:04:41,469][ERROR][logstash.outputs.elasticsearch][main][59d23a2ceb83dab798fb9967fab838e157b1757542f7da3bf6c09ae46da8adaa] Could not index event to Elasticsearch. {:status=>400, :action=>["ind
ex", {:_id=>nil, :_index=>"logstash-2020-06-05_07:20", :routing=>nil, :_type=>"_doc"}, #LogStash::Event:0x1682b3f6], :response=>{"index"=>{"_index"=>"logstash-2020-06-05_07:20", "_type"=>"_doc", "_id"=>ni
l, "status"=>400, "error"=>{"type"=>"invalid_index_name_exception", "reason"=>"Invalid index name [logstash-2020-06-05_07:20], must not contain ':'", "index_uuid"=>"na", "index"=>"logstash-2020-06-05_07:2
0"}}}}

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