hi friends
i want to load my template on the output of logstash to map correctly my json
i'm trying this but template is not loaded
output {
elasticsearch {
index => "ciao-%{+YYYY.MM.dd}"
document_type => "ciao_prova"
manage_template => true
template => "C:\Users\Lock\Desktop\canonicoTemplate\template.json"
template_overwrite => "true"
codec => json
}
this is my "template.json" file that i want to load...must i add other in the first lines or is correct in this way?
where I'm wronging?