Unable to fetch mapping. Do you have indices matching the pattern?

作者: 站长 上传时间: 浏览: N/A 下载: N/A 格式: N/A 评分: N/A


Unable to fetch mapping. Do you have indices matching the pattern? No default index pattern. You must select or create one to continue.

Time-field name was blank?

logstash-*

You should do this:

curl -XPUT http://ES_IP:9200/logstash-dx -d '{"mappings":{"trans":{"properties":{"RequestTime":{"type":"date","format":"YYYY:MM:DD HH:mm:ss"}}}}}'

Leave a Comment