{
  "_meta": {
    "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html",
    "ecs_version": "1.12.2"
  },
  "template": {
    "mappings": {
      "properties": {
        "logstash": {
          "properties": {
            "log": {
              "properties": {
                "log_event": {
                  "properties": {
                    "action": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  },
                  "type": "object"
                },
                "module": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "pipeline_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "thread": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "slowlog": {
              "properties": {
                "event": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "module": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "plugin_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "plugin_params": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "plugin_params_object": {
                  "type": "object"
                },
                "plugin_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "thread": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "took_in_millis": {
                  "type": "long"
                }
              }
            }
          }
        }
      }
    }
  }
}