ELK logstash 各种报错

1.logstash 启动后数据传输了,但是 ElasticSearch 中没有生成索引,查看logstash日志,报错如下

[2018-06-08T14:46:25,387][WARN ]
[logstash.outputs.elasticsearch] Could not index event to Elasticsearch.
{:status=>400,
:action=>
[“index”,
{:_id=>nil, :_index=>”12.82-searchT-error”, :_type=>”doc”, :_routing=>nil},
#<LogStash::Event:0x3aa38b42>],
:response=>
{“index”=>{“_index”=>”12.82-searchT-error”, “_type”=>”doc”, “_id”=>nil, “status”=>400,
“error”=>{“type”=>”invalid_index_name_exception”,
“reason”=>”Invalid index name [12.82-searchT-error], must be lowercase”, “index_uuid”=>”_na_”, “index”=>”12.82-searchT-error”}}}}

末尾说的很明确了,索引名必须是小写

 

    原文作者:乌托邦眺望
    原文地址: https://www.cnblogs.com/centos2017/p/9156074.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞