Dynamic template of a created index


(sahere rahimi) #1

hi all,
I am using logstash to ship logs into elasticsearch, I didn't define any template, and according to documents elasicsearch automatically creates a template for the created index. now, if my index name be "disp-2019-03-01" how can i see the template that elasticsearch used for mentioned index creation?


(Junaid) #2

Hi,

There is a mapping created for that. You can hit _mapping end point to fetch that.
Please refer to the link.


(sahere rahimi) #3

many thanks