Reading the description for
For index patterns containing timestamps in their names, look for this many recent matching patterns from which to query the field mapping
I would expect that when setting up or refreshing an Index Pattern in Kibana, it would only consider the mapping of the last 5 indices. However that is not what is happening. It is definitely looking back at mappings of older indices as well.
Unfortunately this setting is not covered in the docs (https://www.elastic.co/guide/en/kibana/current/advanced-options.html), so I can't confirm how this is supposed to work.
Does anyone have any insights on the expected behavior of this setting?