Я не могу выполнить сопоставление для моих данных с помощью приведенного ниже сопоставления. В эластичном индексе поле «integerinput» отображается как «текст».
Ниже приведена часть файла шаблона json и файла конфигурации logstash
template.json
{
"mappings":{
"_doc":{
"properties":{
"textinput":{
"type":"text"
},
"name":{
"type":"text"
},
"integerinput":{
"type":"integer"
}
}
}
}
}
файл logstash-config:
output {
elasticsearch {
ssl => true
manage_template => true
user => 'elastic'
password => '******'
hosts => "https://elasticip:port"
cacert => '/path to certificate file'
index => "template-mapping-index"
template => "/path to template/template.json"
}
}
Может ли кто-нибудь помочь мне, где я сделал ошибку