("Enabled": false) does it work in index templates or only in mapping directly?

Hi, Im using filebeat with templates and 1 index per day pattern.
Id like to disable object in a field but it doenst work in templates (works only in mapping directly)

"Enabled": false does it work in index templates or only in mapping directly?

Note: i am using Elastic 7.4 in AWS Service

Example:

{
  "bmbv1" : {
    "order" : 0,
    "index_patterns" : [
      "bmbv1-*"
    ],
    "settings" : {
      "index" : {
        "refresh_interval" : "5s"
      }
    },
    "mappings" : {
      "dynamic_templates" : [		
		 "disabled_fields": {
          "match_mapping_type": "object",
          "match":   "Exception*",
          "mapping": {
            "type": "object"
			"enabled": "false"
          }
        }
		...

Welcome to our community! :smiley:

What do you mean doesn't work?

Ultimately you may need to ask them, as they run a custom fork of our product.