{
  "mappings": {
    "_default_": {
      "_all": {
        "norms": {
          "enabled": false
        }
      },
      "_meta": {
        "version": "5.2.2"
      },
      "dynamic_templates": [
        {
          "strings_as_keyword": {
            "mapping": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "match_mapping_type": "string"
          }
        }
      ],
      "properties": {
        "@timestamp": {
          "type": "date"
        },
        "beat": {
          "properties": {
            "hostname": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "name": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "version": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            }
          }
        },
        "duration": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "error": {
          "properties": {
            "message": {
              "index": "analyzed",
              "norms": {
                "enabled": false
              },
              "type": "string"
            },
            "type": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            }
          }
        },
        "host": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "http_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "icmp_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "ip": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "meta": {
          "properties": {
            "cloud": {
              "properties": {
                "availability_zone": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "instance_id": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "machine_type": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "project_id": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "provider": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "region": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                }
              }
            }
          }
        },
        "monitor": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "port": {
          "type": "long"
        },
        "resolve_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "response": {
          "properties": {
            "status": {
              "type": "long"
            }
          }
        },
        "scheme": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "socks5_connect_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "tags": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "tcp_connect_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "tls_handshake_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        },
        "type": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "up": {
          "type": "boolean"
        },
        "url": {
          "index": "analyzed",
          "norms": {
            "enabled": false
          },
          "type": "string"
        },
        "validate_rtt": {
          "properties": {
            "us": {
              "type": "long"
            }
          }
        }
      }
    }
  },
  "order": 0,
  "settings": {
    "index.refresh_interval": "5s"
  },
  "template": "heartbeat-*"
}