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