Is there a way to check if the mapping of an index comes from a specific template?
When performing
GET index_name
I am getting a mappings
json field but how can I say if this was auto generated or came from a template I instructed it to when sending it to elasticsearch as in ...:
elasticsearch {
hosts => ["elasticsearch:9200"]
index => "index_name"
template => "/usr/share/logstash/files/mapping_users_index_template.json"
template_name => "mapping_users"
manage_template => true
template_overwrite => true
document_type => _doc
}