we are currently using dynamic mapping, means if a new field is exported by logstash, it will be present by
My problem is: I have daily rotating indexes.
If I use the _mapping function, it gives me a list of the mappings for each day. Since not all fields are created every day, the mapping is differing between the days for the same index-prefix.
How can I get a combined mapping of all days - duplicates removed - to export it to use it as a mapping template?