{
  "template": {
    "mappings": {
      "dynamic_templates": [],
      "properties": {
        "metadata": {
          "properties": {
            "kafka": {
              "properties": {
                "timestamp": {
                  "type": "date"
                }
              }
            }
          }
        }
      }
    }
  },
  "_meta": {
    "_meta": {
      "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-log.html",
      "ecs_version": "1.12.2"
    }
  }
}