Dynamic template of a created index

(LR) #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.

(LR) #3

many thanks

1 Like
(system) closed #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.