{
  "_meta": {
    "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-data_stream.html",
    "ecs_version": "1.12.2"
  },
  "template": {
    "mappings": {
      "properties": {
        "data_stream": {
          "properties": {
            "dataset": {
              "type": "constant_keyword"
            },
            "namespace": {
              "type": "constant_keyword"
            },
            "type": {
              "type": "constant_keyword"
            }
          }
        }
      }
    }
  }
}