{
  "template": {
    "mappings": {
      "properties": {
        "host": {
          "properties": {
            "ip": {
              "type": "ip"
            }
          }
        },
        "related": {
          "properties": {
            "ip": {
              "type": "ip"
            }
          }
        },
        "destination": {
          "properties": {
            "ip": {
              "type": "ip"
            }
          }
        },
        "source": {
          "properties": {
            "ip": {
              "type": "ip"
            }
          }
        },
        "metadata": {
          "properties": {
            "input": {
              "properties": {
                "beats": {
                  "properties": {
                    "host": {
                      "properties": {
                        "ip": {
                          "type": "ip"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "_meta": {
    "managed_by": "security_onion",
    "managed": true
  }
}