{
  "_meta": {
    "description": "Sample composable template that includes all ECS fields",
    "ecs_version": "8.0.0"
  },
  "composed_of": [
    "ecs_8.0.0_acme",
    "ecs_8.0.0_base",
    "ecs_8.0.0_ecs",
    "ecs_8.0.0_event",
    "ecs_8.0.0_user_agent",
    "ecs_8.0.0_url",
    "ecs_8.0.0_http",
    "ecs_8.0.0_user",
    "ecs_8.0.0_network",
    "ecs_8.0.0_related",
    "ecs_8.0.0_source",
    "ecs_8.0.0_destination",
    "ecs_8.0.0_client",
    "ecs_8.0.0_server",
    "ecs_8.0.0_agent"
  ],
  "index_patterns": [
    "acme-weblogs-*"
  ],
  "priority": 1,
  "template": {
    "mappings": {
      "_meta": {
        "version": "8.0.0"
      },
      "date_detection": false,
      "dynamic_templates": [
        {
          "strings_as_keyword": {
            "mapping": {
              "fields": {
                "text": {
                  "norms": false,
                  "type": "text"
                }
              },
              "ignore_above": 1024,
              "type": "keyword"
            },
            "match_mapping_type": "string"
          }
        }
      ]
    },
    "settings": {
      "index": {
        "codec": "best_compression",
        "mapping": {
          "total_fields": {
            "limit": 2000
          }
        }
      }
    }
  }
}
