{
    "order" : 10,
    "index_patterns" : [
      "ks_kafka_connect_mirror_maker_metric*"
    ],
    "settings" : {
      "index" : {
        "number_of_shards" : "2"
      }
    },
    "mappings" : {
      "properties" : {
        "connectClusterId" : {
          "type" : "long"
        },
        "routingValue" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "ignore_above" : 256,
              "type" : "keyword"
            }
          }
        },
        "connectorName" : {
          "type" : "keyword"
        },
        "connectorNameAndClusterId" : {
          "type" : "keyword"
        },
        "clusterPhyId" : {
          "type" : "long"
        },
        "metrics" : {
          "properties" : {
            "HealthState" : {
              "type" : "float"
            },
            "HealthCheckTotal" : {
              "type" : "float"
            },
            "ByteCount" : {
              "type" : "float"
            },
            "ByteRate" : {
              "type" : "float"
            },
            "RecordAgeMs" : {
              "type" : "float"
            },
            "RecordAgeMsAvg" : {
              "type" : "float"
            },
            "RecordAgeMsMax" : {
              "type" : "float"
            },
            "RecordAgeMsMin" : {
              "type" : "float"
            },
            "RecordCount" : {
              "type" : "float"
            },
            "RecordRate" : {
              "type" : "float"
            },
            "ReplicationLatencyMs" : {
              "type" : "float"
            },
            "ReplicationLatencyMsAvg" : {
              "type" : "float"
            },
            "ReplicationLatencyMsMax" : {
               "type" : "float"
            },
            "ReplicationLatencyMsMin" : {
               "type" : "float"
            }
          }
        },
        "key" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "ignore_above" : 256,
              "type" : "keyword"
            }
          }
        },
        "timestamp" : {
          "format" : "yyyy-MM-dd HH:mm:ss Z||yyyy-MM-dd HH:mm:ss||yyyy-MM-dd HH:mm:ss.SSS Z||yyyy-MM-dd HH:mm:ss.SSS||yyyy-MM-dd HH:mm:ss,SSS||yyyy/MM/dd HH:mm:ss||yyyy-MM-dd HH:mm:ss,SSS Z||yyyy/MM/dd HH:mm:ss,SSS Z||epoch_millis",
          "index" : true,
          "type" : "date",
          "doc_values" : true
        }
      }
    },
    "aliases" : { }
  }