How to create a mapping that apply to index with dynamic name like "index-%{YYYYMMDD}"

I'm using logstash to create new indices every day using the current date, but every time it does, the new index create new fields considering everything as "string".
How can I configure my mapping, so when a new index is created it configure the fields with the right data type?

Create an index template that applies to all indices matching e.g. the index* pattern.

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