я быть_наст удалить отображение с ЦМДОМ«Индекс»: «not_analyzed» в elasticsearch
curl -XDELETE 'http://localhost:9200/logstash_log*/'
в моем конфе, я определил индекс как следовать,
output {
elasticsearch {
hosts => localhost
index => "logstash_log-%{+YYYY.MM.dd}"
}
и попытаться создать новое отображение, но я получил ошибку
#curl -XPUT http://localhost:9200/logstash_log*/_mapping/log -d '
{
"properties":{
"@timestamp":"type":"date","format":"strict_date_optional_time||epoch_millis"},
"message":{"type":"string"},
"host":{"type":"ip"},
"name":{"type":"string","index": "not_analyzed"},
"type":{"type":"string"}
}
}'
{ "ошибка": { "ROOT_CAUSE": [{ "типа ":" index_not_found_exception "," reason ":" no такой индекс "," resource.type ":" index_or_alias "," resource.id ":" logstash_log * "," index ":" logstash_log * "}]," type ":" index_not_found_exception "," reason ":" no такой индекс "," resource.type ":" index_or_alias "," resource.id ":" logstash_log * "," index ":" logstash_log * "}," status " : 404}
Как это исправить? любая помощь будет оценена!
@stefansaye удачи с этим? – Val