{
  "mappings": {
    "_default_": {
      "_all": {
        "norms": {
          "enabled": false
        }
      },
      "_meta": {
        "version": "5.0.1"
      },
      "dynamic_templates": [
        {
          "strings_as_keyword": {
            "mapping": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "match_mapping_type": "string"
          }
        }
      ],
      "properties": {
        "@timestamp": {
          "type": "date"
        },
        "apache": {
          "properties": {
            "status": {
              "properties": {
                "bytes_per_request": {
                  "type": "float"
                },
                "bytes_per_sec": {
                  "type": "float"
                },
                "connections": {
                  "properties": {
                    "async": {
                      "properties": {
                        "closing": {
                          "type": "long"
                        },
                        "keep_alive": {
                          "type": "long"
                        },
                        "writing": {
                          "type": "long"
                        }
                      }
                    },
                    "total": {
                      "type": "long"
                    }
                  }
                },
                "cpu": {
                  "properties": {
                    "children_system": {
                      "type": "float"
                    },
                    "children_user": {
                      "type": "float"
                    },
                    "load": {
                      "type": "float"
                    },
                    "system": {
                      "type": "float"
                    },
                    "user": {
                      "type": "float"
                    }
                  }
                },
                "hostname": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "load": {
                  "properties": {
                    "1": {
                      "type": "float"
                    },
                    "15": {
                      "type": "float"
                    },
                    "5": {
                      "type": "float"
                    }
                  }
                },
                "requests_per_sec": {
                  "type": "float"
                },
                "scoreboard": {
                  "properties": {
                    "closing_connection": {
                      "type": "long"
                    },
                    "dns_lookup": {
                      "type": "long"
                    },
                    "gracefully_finishing": {
                      "type": "long"
                    },
                    "idle_cleanup": {
                      "type": "long"
                    },
                    "keepalive": {
                      "type": "long"
                    },
                    "logging": {
                      "type": "long"
                    },
                    "open_slot": {
                      "type": "long"
                    },
                    "reading_request": {
                      "type": "long"
                    },
                    "sending_reply": {
                      "type": "long"
                    },
                    "starting_up": {
                      "type": "long"
                    },
                    "total": {
                      "type": "long"
                    },
                    "waiting_for_connection": {
                      "type": "long"
                    }
                  }
                },
                "total_accesses": {
                  "type": "long"
                },
                "total_kbytes": {
                  "type": "long"
                },
                "uptime": {
                  "properties": {
                    "server_uptime": {
                      "type": "long"
                    },
                    "uptime": {
                      "type": "long"
                    }
                  }
                },
                "workers": {
                  "properties": {
                    "busy": {
                      "type": "long"
                    },
                    "idle": {
                      "type": "long"
                    }
                  }
                }
              }
            }
          }
        },
        "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"
            }
          }
        },
        "haproxy": {
          "properties": {
            "info": {
              "properties": {
                "compress": {
                  "properties": {
                    "bps": {
                      "properties": {
                        "in": {
                          "type": "long"
                        },
                        "out": {
                          "type": "long"
                        },
                        "rate_limit": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "conn": {
                  "properties": {
                    "rate": {
                      "properties": {
                        "limit": {
                          "type": "long"
                        },
                        "value": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "cum": {
                  "properties": {
                    "conns": {
                      "type": "long"
                    },
                    "req": {
                      "type": "long"
                    },
                    "ssl_conns": {
                      "type": "long"
                    }
                  }
                },
                "curr": {
                  "properties": {
                    "conns": {
                      "type": "long"
                    },
                    "ssl_conns": {
                      "type": "long"
                    }
                  }
                },
                "idle_pct": {
                  "type": "float"
                },
                "max": {
                  "properties": {
                    "conn": {
                      "properties": {
                        "rate": {
                          "type": "long"
                        },
                        "value": {
                          "type": "long"
                        }
                      }
                    },
                    "hard_conn": {
                      "type": "long"
                    },
                    "pipes": {
                      "type": "long"
                    },
                    "sess_rate": {
                      "type": "long"
                    },
                    "sock": {
                      "type": "long"
                    },
                    "ssl": {
                      "properties": {
                        "conns": {
                          "type": "long"
                        },
                        "rate": {
                          "type": "long"
                        }
                      }
                    },
                    "zlib_mem_usage": {
                      "type": "long"
                    }
                  }
                },
                "mem_max_bytes": {
                  "type": "long"
                },
                "nb_proc": {
                  "type": "long"
                },
                "pid": {
                  "type": "long"
                },
                "pipes": {
                  "properties": {
                    "free": {
                      "type": "long"
                    },
                    "used": {
                      "type": "long"
                    }
                  }
                },
                "process_num": {
                  "type": "long"
                },
                "run_queue": {
                  "type": "long"
                },
                "sess": {
                  "properties": {
                    "rate": {
                      "properties": {
                        "limit": {
                          "type": "long"
                        },
                        "value": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "ssl": {
                  "properties": {
                    "backend": {
                      "properties": {
                        "key_rate": {
                          "type": "long"
                        },
                        "max_key_rate": {
                          "type": "long"
                        }
                      }
                    },
                    "cache_misses": {
                      "type": "long"
                    },
                    "cached_lookups": {
                      "type": "long"
                    },
                    "frontend": {
                      "properties": {
                        "key_rate": {
                          "type": "long"
                        },
                        "max_key_rate": {
                          "type": "long"
                        },
                        "session_reuse_pct": {
                          "type": "long"
                        }
                      }
                    },
                    "rate": {
                      "properties": {
                        "limit": {
                          "type": "long"
                        },
                        "value": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "tasks": {
                  "type": "long"
                },
                "ulimit_n": {
                  "type": "long"
                },
                "uptime_sec": {
                  "type": "long"
                },
                "zlib_mem_usage": {
                  "type": "long"
                }
              }
            },
            "stat": {
              "properties": {
                "act": {
                  "type": "long"
                },
                "bck": {
                  "type": "long"
                },
                "bin": {
                  "type": "long"
                },
                "bout": {
                  "type": "long"
                },
                "check": {
                  "properties": {
                    "code": {
                      "type": "long"
                    },
                    "duration": {
                      "type": "long"
                    },
                    "status": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    }
                  }
                },
                "chkdown": {
                  "type": "long"
                },
                "chkfail": {
                  "type": "long"
                },
                "cli_abrt": {
                  "type": "long"
                },
                "comp": {
                  "properties": {
                    "byp": {
                      "type": "long"
                    },
                    "in": {
                      "type": "long"
                    },
                    "out": {
                      "type": "long"
                    },
                    "rsp": {
                      "type": "long"
                    }
                  }
                },
                "component_type": {
                  "type": "long"
                },
                "ctime": {
                  "type": "long"
                },
                "downtime": {
                  "type": "long"
                },
                "dreq": {
                  "type": "long"
                },
                "dresp": {
                  "type": "long"
                },
                "econ": {
                  "type": "long"
                },
                "ereq": {
                  "type": "long"
                },
                "eresp": {
                  "type": "long"
                },
                "hanafail": {
                  "type": "long"
                },
                "hrsp": {
                  "properties": {
                    "1xx": {
                      "type": "long"
                    },
                    "2xx": {
                      "type": "long"
                    },
                    "3xx": {
                      "type": "long"
                    },
                    "4xx": {
                      "type": "long"
                    },
                    "5xx": {
                      "type": "long"
                    },
                    "other": {
                      "type": "long"
                    }
                  }
                },
                "iid": {
                  "type": "long"
                },
                "last": {
                  "properties": {
                    "agt": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "chk": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "sess": {
                      "type": "long"
                    }
                  }
                },
                "lastchg": {
                  "type": "long"
                },
                "lbtot": {
                  "type": "long"
                },
                "pid": {
                  "type": "long"
                },
                "pxname": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "qcur": {
                  "type": "long"
                },
                "qlimit": {
                  "type": "long"
                },
                "qmax": {
                  "type": "long"
                },
                "qtime": {
                  "type": "long"
                },
                "rate": {
                  "properties": {
                    "lim": {
                      "type": "long"
                    },
                    "max": {
                      "type": "long"
                    },
                    "value": {
                      "type": "long"
                    }
                  }
                },
                "req": {
                  "properties": {
                    "rate": {
                      "properties": {
                        "max": {
                          "type": "long"
                        },
                        "value": {
                          "type": "long"
                        }
                      }
                    },
                    "tot": {
                      "type": "long"
                    }
                  }
                },
                "rtime": {
                  "type": "long"
                },
                "scur": {
                  "type": "long"
                },
                "sid": {
                  "type": "long"
                },
                "slim": {
                  "type": "long"
                },
                "smax": {
                  "type": "long"
                },
                "srv_abrt": {
                  "type": "long"
                },
                "status": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "stot": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "svname": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "throttle": {
                  "type": "long"
                },
                "tracked": {
                  "type": "long"
                },
                "ttime": {
                  "type": "long"
                },
                "weight": {
                  "type": "long"
                },
                "wredis": {
                  "type": "long"
                },
                "wretr": {
                  "type": "long"
                }
              }
            }
          }
        },
        "metricset": {
          "properties": {
            "host": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "module": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "name": {
              "ignore_above": 1024,
              "index": "not_analyzed",
              "type": "string"
            },
            "rtt": {
              "type": "long"
            }
          }
        },
        "mongodb": {
          "properties": {
            "status": {
              "properties": {
                "asserts": {
                  "properties": {
                    "msg": {
                      "type": "long"
                    },
                    "regular": {
                      "type": "long"
                    },
                    "rollovers": {
                      "type": "long"
                    },
                    "user": {
                      "type": "long"
                    },
                    "warning": {
                      "type": "long"
                    }
                  }
                },
                "background_flushing": {
                  "properties": {
                    "average": {
                      "properties": {
                        "ms": {
                          "type": "long"
                        }
                      }
                    },
                    "flushes": {
                      "type": "long"
                    },
                    "last": {
                      "properties": {
                        "ms": {
                          "type": "long"
                        }
                      }
                    },
                    "last_finished": {
                      "type": "date"
                    },
                    "total": {
                      "properties": {
                        "ms": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "connections": {
                  "properties": {
                    "available": {
                      "type": "long"
                    },
                    "current": {
                      "type": "long"
                    },
                    "total_created": {
                      "type": "long"
                    }
                  }
                },
                "extra_info": {
                  "properties": {
                    "heap_usage": {
                      "properties": {
                        "bytes": {
                          "type": "long"
                        }
                      }
                    },
                    "page_faults": {
                      "type": "long"
                    }
                  }
                },
                "journaling": {
                  "properties": {
                    "commits": {
                      "type": "long"
                    },
                    "commits_in_write_lock": {
                      "type": "long"
                    },
                    "compression": {
                      "type": "long"
                    },
                    "early_commits": {
                      "type": "long"
                    },
                    "journaled": {
                      "properties": {
                        "mb": {
                          "type": "long"
                        }
                      }
                    },
                    "times": {
                      "properties": {
                        "commits": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "commits_in_write_lock": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "dt": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "prep_log_buffer": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "remap_private_view": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "write_to_data_files": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "write_to_journal": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    },
                    "write_to_data_files": {
                      "properties": {
                        "mb": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "local_time": {
                  "type": "date"
                },
                "memory": {
                  "properties": {
                    "bits": {
                      "type": "long"
                    },
                    "mapped": {
                      "properties": {
                        "mb": {
                          "type": "long"
                        }
                      }
                    },
                    "mapped_with_journal": {
                      "properties": {
                        "mb": {
                          "type": "long"
                        }
                      }
                    },
                    "resident": {
                      "properties": {
                        "mb": {
                          "type": "long"
                        }
                      }
                    },
                    "virtual": {
                      "properties": {
                        "mb": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "network": {
                  "properties": {
                    "in": {
                      "properties": {
                        "bytes": {
                          "type": "long"
                        }
                      }
                    },
                    "out": {
                      "properties": {
                        "bytes": {
                          "type": "long"
                        }
                      }
                    },
                    "requests": {
                      "type": "long"
                    }
                  }
                },
                "opcounters": {
                  "properties": {
                    "command": {
                      "type": "long"
                    },
                    "delete": {
                      "type": "long"
                    },
                    "getmore": {
                      "type": "long"
                    },
                    "insert": {
                      "type": "long"
                    },
                    "query": {
                      "type": "long"
                    },
                    "update": {
                      "type": "long"
                    }
                  }
                },
                "opcounters_replicated": {
                  "properties": {
                    "command": {
                      "type": "long"
                    },
                    "delete": {
                      "type": "long"
                    },
                    "getmore": {
                      "type": "long"
                    },
                    "insert": {
                      "type": "long"
                    },
                    "query": {
                      "type": "long"
                    },
                    "update": {
                      "type": "long"
                    }
                  }
                },
                "storage_engine": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    }
                  }
                },
                "uptime": {
                  "properties": {
                    "ms": {
                      "type": "long"
                    }
                  }
                },
                "version": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "write_backs_queued": {
                  "type": "boolean"
                }
              }
            }
          }
        },
        "mysql": {
          "properties": {
            "status": {
              "properties": {
                "aborted": {
                  "properties": {
                    "clients": {
                      "type": "long"
                    },
                    "connects": {
                      "type": "long"
                    }
                  }
                },
                "binlog": {
                  "properties": {
                    "cache": {
                      "properties": {
                        "disk_use": {
                          "type": "long"
                        },
                        "use": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "bytes": {
                  "properties": {
                    "received": {
                      "type": "long"
                    },
                    "sent": {
                      "type": "long"
                    }
                  }
                },
                "connections": {
                  "type": "long"
                },
                "created": {
                  "properties": {
                    "tmp": {
                      "properties": {
                        "disk_tables": {
                          "type": "long"
                        },
                        "files": {
                          "type": "long"
                        },
                        "tables": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "delayed": {
                  "properties": {
                    "errors": {
                      "type": "long"
                    },
                    "insert_threads": {
                      "type": "long"
                    },
                    "writes": {
                      "type": "long"
                    }
                  }
                },
                "flush_commands": {
                  "type": "long"
                },
                "max_used_connections": {
                  "type": "long"
                },
                "open": {
                  "properties": {
                    "files": {
                      "type": "long"
                    },
                    "streams": {
                      "type": "long"
                    },
                    "tables": {
                      "type": "long"
                    }
                  }
                },
                "opened_tables": {
                  "type": "long"
                },
                "threads": {
                  "properties": {
                    "cached": {
                      "type": "long"
                    },
                    "connected": {
                      "type": "long"
                    },
                    "created": {
                      "type": "long"
                    },
                    "running": {
                      "type": "long"
                    }
                  }
                }
              }
            }
          }
        },
        "nginx": {
          "properties": {
            "stubstatus": {
              "properties": {
                "accepts": {
                  "type": "long"
                },
                "active": {
                  "type": "long"
                },
                "current": {
                  "type": "long"
                },
                "dropped": {
                  "type": "long"
                },
                "handled": {
                  "type": "long"
                },
                "hostname": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "reading": {
                  "type": "long"
                },
                "requests": {
                  "type": "long"
                },
                "waiting": {
                  "type": "long"
                },
                "writing": {
                  "type": "long"
                }
              }
            }
          }
        },
        "postgresql": {
          "properties": {
            "activity": {
              "properties": {
                "application_name": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "backend_start": {
                  "type": "date"
                },
                "client": {
                  "properties": {
                    "address": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "hostname": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "port": {
                      "type": "long"
                    }
                  }
                },
                "database": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "oid": {
                      "type": "long"
                    }
                  }
                },
                "pid": {
                  "type": "long"
                },
                "query": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "query_start": {
                  "type": "date"
                },
                "state": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "state_change": {
                  "type": "date"
                },
                "transaction_start": {
                  "type": "date"
                },
                "user": {
                  "properties": {
                    "id": {
                      "type": "long"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    }
                  }
                },
                "waiting": {
                  "type": "boolean"
                }
              }
            },
            "bgwriter": {
              "properties": {
                "buffers": {
                  "properties": {
                    "allocated": {
                      "type": "long"
                    },
                    "backend": {
                      "type": "long"
                    },
                    "backend_fsync": {
                      "type": "long"
                    },
                    "checkpoints": {
                      "type": "long"
                    },
                    "clean": {
                      "type": "long"
                    },
                    "clean_full": {
                      "type": "long"
                    }
                  }
                },
                "checkpoints": {
                  "properties": {
                    "requested": {
                      "type": "long"
                    },
                    "scheduled": {
                      "type": "long"
                    },
                    "times": {
                      "properties": {
                        "sync": {
                          "properties": {
                            "ms": {
                              "type": "float"
                            }
                          }
                        },
                        "write": {
                          "properties": {
                            "ms": {
                              "type": "float"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "stats_reset": {
                  "type": "date"
                }
              }
            },
            "database": {
              "properties": {
                "blocks": {
                  "properties": {
                    "hit": {
                      "type": "long"
                    },
                    "read": {
                      "type": "long"
                    },
                    "time": {
                      "properties": {
                        "read": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        },
                        "write": {
                          "properties": {
                            "ms": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "conflicts": {
                  "type": "long"
                },
                "deadlocks": {
                  "type": "long"
                },
                "name": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "number_of_backends": {
                  "type": "long"
                },
                "oid": {
                  "type": "long"
                },
                "rows": {
                  "properties": {
                    "deleted": {
                      "type": "long"
                    },
                    "fetched": {
                      "type": "long"
                    },
                    "inserted": {
                      "type": "long"
                    },
                    "returned": {
                      "type": "long"
                    },
                    "updated": {
                      "type": "long"
                    }
                  }
                },
                "stats_reset": {
                  "type": "date"
                },
                "temporary": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "files": {
                      "type": "long"
                    }
                  }
                },
                "transactions": {
                  "properties": {
                    "commit": {
                      "type": "long"
                    },
                    "rollback": {
                      "type": "long"
                    }
                  }
                }
              }
            }
          }
        },
        "redis": {
          "properties": {
            "info": {
              "properties": {
                "clients": {
                  "properties": {
                    "biggest_input_buf": {
                      "type": "long"
                    },
                    "blocked": {
                      "type": "long"
                    },
                    "connected": {
                      "type": "long"
                    },
                    "longest_output_list": {
                      "type": "long"
                    }
                  }
                },
                "cluster": {
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    }
                  }
                },
                "cpu": {
                  "properties": {
                    "used": {
                      "properties": {
                        "sys": {
                          "type": "float"
                        },
                        "sys_children": {
                          "type": "float"
                        },
                        "user": {
                          "type": "float"
                        },
                        "user_children": {
                          "type": "float"
                        }
                      }
                    }
                  }
                },
                "memory": {
                  "properties": {
                    "allocator": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "used": {
                      "properties": {
                        "lua": {
                          "type": "long"
                        },
                        "peak": {
                          "type": "long"
                        },
                        "rss": {
                          "type": "long"
                        },
                        "value": {
                          "type": "long"
                        }
                      }
                    }
                  }
                },
                "persistence": {
                  "properties": {
                    "aof": {
                      "properties": {
                        "bgrewrite": {
                          "properties": {
                            "last_status": {
                              "ignore_above": 1024,
                              "index": "not_analyzed",
                              "type": "string"
                            }
                          }
                        },
                        "enabled": {
                          "type": "boolean"
                        },
                        "rewrite": {
                          "properties": {
                            "current_time": {
                              "properties": {
                                "sec": {
                                  "type": "long"
                                }
                              }
                            },
                            "in_progress": {
                              "type": "boolean"
                            },
                            "last_time": {
                              "properties": {
                                "sec": {
                                  "type": "long"
                                }
                              }
                            },
                            "scheduled": {
                              "type": "boolean"
                            }
                          }
                        },
                        "write": {
                          "properties": {
                            "last_status": {
                              "ignore_above": 1024,
                              "index": "not_analyzed",
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "loading": {
                      "type": "boolean"
                    },
                    "rdb": {
                      "properties": {
                        "bgsave": {
                          "properties": {
                            "current_time": {
                              "properties": {
                                "sec": {
                                  "type": "long"
                                }
                              }
                            },
                            "in_progress": {
                              "type": "boolean"
                            },
                            "last_status": {
                              "ignore_above": 1024,
                              "index": "not_analyzed",
                              "type": "string"
                            },
                            "last_time": {
                              "properties": {
                                "sec": {
                                  "type": "long"
                                }
                              }
                            }
                          }
                        },
                        "last_save": {
                          "properties": {
                            "changes_since": {
                              "type": "long"
                            },
                            "time": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "replication": {
                  "properties": {
                    "backlog": {
                      "properties": {
                        "active": {
                          "type": "long"
                        },
                        "first_byte_offset": {
                          "type": "long"
                        },
                        "histlen": {
                          "type": "long"
                        },
                        "size": {
                          "type": "long"
                        }
                      }
                    },
                    "connected_slaves": {
                      "type": "long"
                    },
                    "master_offset": {
                      "type": "long"
                    },
                    "role": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    }
                  }
                },
                "server": {
                  "properties": {
                    "arch_bits": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "build_id": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "config_file": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "gcc_version": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "git_dirty": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "git_sha1": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "hz": {
                      "type": "long"
                    },
                    "lru_clock": {
                      "type": "long"
                    },
                    "mode": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "multiplexing_api": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "os": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "process_id": {
                      "type": "long"
                    },
                    "run_id": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "tcp_port": {
                      "type": "long"
                    },
                    "uptime": {
                      "type": "long"
                    },
                    "version": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    }
                  }
                },
                "stats": {
                  "properties": {
                    "commands_processed": {
                      "type": "long"
                    },
                    "connections": {
                      "properties": {
                        "received": {
                          "type": "long"
                        },
                        "rejected": {
                          "type": "long"
                        }
                      }
                    },
                    "instantaneous": {
                      "properties": {
                        "input_kbps": {
                          "type": "float"
                        },
                        "ops_per_sec": {
                          "type": "long"
                        },
                        "output_kbps": {
                          "type": "float"
                        }
                      }
                    },
                    "keys": {
                      "properties": {
                        "evicted": {
                          "type": "long"
                        },
                        "expired": {
                          "type": "long"
                        }
                      }
                    },
                    "keyspace": {
                      "properties": {
                        "hits": {
                          "type": "long"
                        },
                        "misses": {
                          "type": "long"
                        }
                      }
                    },
                    "latest_fork_usec": {
                      "type": "long"
                    },
                    "migrate_cached_sockets": {
                      "type": "long"
                    },
                    "net": {
                      "properties": {
                        "input": {
                          "properties": {
                            "bytes": {
                              "type": "long"
                            }
                          }
                        },
                        "output": {
                          "properties": {
                            "bytes": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    },
                    "pubsub": {
                      "properties": {
                        "channels": {
                          "type": "long"
                        },
                        "patterns": {
                          "type": "long"
                        }
                      }
                    },
                    "sync": {
                      "properties": {
                        "full": {
                          "type": "long"
                        },
                        "partial": {
                          "properties": {
                            "err": {
                              "type": "long"
                            },
                            "ok": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "keyspace": {
              "properties": {
                "avg_ttl": {
                  "type": "long"
                },
                "expires": {
                  "type": "long"
                },
                "id": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "keys": {
                  "type": "long"
                }
              }
            }
          }
        },
        "system": {
          "properties": {
            "core": {
              "properties": {
                "id": {
                  "type": "long"
                },
                "idle": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "iowait": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "irq": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "nice": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "softirq": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "steal": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "system": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "user": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                }
              }
            },
            "cpu": {
              "properties": {
                "idle": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "iowait": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "irq": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "nice": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "softirq": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "steal": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "system": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                },
                "user": {
                  "properties": {
                    "pct": {
                      "type": "float"
                    },
                    "ticks": {
                      "type": "long"
                    }
                  }
                }
              }
            },
            "diskio": {
              "properties": {
                "io": {
                  "properties": {
                    "time": {
                      "type": "long"
                    }
                  }
                },
                "name": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "read": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "count": {
                      "type": "long"
                    },
                    "time": {
                      "type": "long"
                    }
                  }
                },
                "serial_number": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "write": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "count": {
                      "type": "long"
                    },
                    "time": {
                      "type": "long"
                    }
                  }
                }
              }
            },
            "filesystem": {
              "properties": {
                "available": {
                  "type": "long"
                },
                "device_name": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "files": {
                  "type": "long"
                },
                "free": {
                  "type": "long"
                },
                "free_files": {
                  "type": "long"
                },
                "mount_point": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "total": {
                  "type": "long"
                },
                "used": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "pct": {
                      "type": "float"
                    }
                  }
                }
              }
            },
            "fsstat": {
              "properties": {
                "count": {
                  "type": "long"
                },
                "total_files": {
                  "type": "long"
                },
                "total_size": {
                  "properties": {
                    "free": {
                      "type": "long"
                    },
                    "total": {
                      "type": "long"
                    },
                    "used": {
                      "type": "long"
                    }
                  }
                }
              }
            },
            "load": {
              "properties": {
                "1": {
                  "type": "float"
                },
                "15": {
                  "type": "float"
                },
                "5": {
                  "type": "float"
                },
                "norm": {
                  "properties": {
                    "1": {
                      "type": "float"
                    },
                    "15": {
                      "type": "float"
                    },
                    "5": {
                      "type": "float"
                    }
                  }
                }
              }
            },
            "memory": {
              "properties": {
                "actual": {
                  "properties": {
                    "free": {
                      "type": "long"
                    },
                    "used": {
                      "properties": {
                        "bytes": {
                          "type": "long"
                        },
                        "pct": {
                          "type": "float"
                        }
                      }
                    }
                  }
                },
                "free": {
                  "type": "long"
                },
                "swap": {
                  "properties": {
                    "free": {
                      "type": "long"
                    },
                    "total": {
                      "type": "long"
                    },
                    "used": {
                      "properties": {
                        "bytes": {
                          "type": "long"
                        },
                        "pct": {
                          "type": "float"
                        }
                      }
                    }
                  }
                },
                "total": {
                  "type": "long"
                },
                "used": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "pct": {
                      "type": "float"
                    }
                  }
                }
              }
            },
            "network": {
              "properties": {
                "in": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "dropped": {
                      "type": "long"
                    },
                    "errors": {
                      "type": "long"
                    },
                    "packets": {
                      "type": "long"
                    }
                  }
                },
                "name": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "out": {
                  "properties": {
                    "bytes": {
                      "type": "long"
                    },
                    "dropped": {
                      "type": "long"
                    },
                    "errors": {
                      "type": "long"
                    },
                    "packets": {
                      "type": "long"
                    }
                  }
                }
              }
            },
            "process": {
              "properties": {
                "cgroup": {
                  "properties": {
                    "blkio": {
                      "properties": {
                        "id": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "path": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "total": {
                          "properties": {
                            "bytes": {
                              "type": "long"
                            },
                            "ios": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    },
                    "cpu": {
                      "properties": {
                        "cfs": {
                          "properties": {
                            "period": {
                              "properties": {
                                "us": {
                                  "type": "long"
                                }
                              }
                            },
                            "quota": {
                              "properties": {
                                "us": {
                                  "type": "long"
                                }
                              }
                            },
                            "shares": {
                              "type": "long"
                            }
                          }
                        },
                        "id": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "path": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "rt": {
                          "properties": {
                            "period": {
                              "properties": {
                                "us": {
                                  "type": "long"
                                }
                              }
                            },
                            "runtime": {
                              "properties": {
                                "us": {
                                  "type": "long"
                                }
                              }
                            }
                          }
                        },
                        "stats": {
                          "properties": {
                            "periods": {
                              "type": "long"
                            },
                            "throttled": {
                              "properties": {
                                "ns": {
                                  "type": "long"
                                },
                                "periods": {
                                  "type": "long"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "cpuacct": {
                      "properties": {
                        "id": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "path": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "stats": {
                          "properties": {
                            "system": {
                              "properties": {
                                "ns": {
                                  "type": "long"
                                }
                              }
                            },
                            "user": {
                              "properties": {
                                "ns": {
                                  "type": "long"
                                }
                              }
                            }
                          }
                        },
                        "total": {
                          "properties": {
                            "ns": {
                              "type": "long"
                            }
                          }
                        }
                      }
                    },
                    "id": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    },
                    "memory": {
                      "properties": {
                        "id": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "kmem": {
                          "properties": {
                            "failures": {
                              "type": "long"
                            },
                            "limit": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "usage": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                },
                                "max": {
                                  "properties": {
                                    "bytes": {
                                      "type": "long"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "kmem_tcp": {
                          "properties": {
                            "failures": {
                              "type": "long"
                            },
                            "limit": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "usage": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                },
                                "max": {
                                  "properties": {
                                    "bytes": {
                                      "type": "long"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "mem": {
                          "properties": {
                            "failures": {
                              "type": "long"
                            },
                            "limit": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "usage": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                },
                                "max": {
                                  "properties": {
                                    "bytes": {
                                      "type": "long"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "memsw": {
                          "properties": {
                            "failures": {
                              "type": "long"
                            },
                            "limit": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "usage": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                },
                                "max": {
                                  "properties": {
                                    "bytes": {
                                      "type": "long"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "path": {
                          "ignore_above": 1024,
                          "index": "not_analyzed",
                          "type": "string"
                        },
                        "stats": {
                          "properties": {
                            "active_anon": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "active_file": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "cache": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "hierarchical_memory_limit": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "hierarchical_memsw_limit": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "inactive_anon": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "inactive_file": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "major_page_faults": {
                              "type": "long"
                            },
                            "mapped_file": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "page_faults": {
                              "type": "long"
                            },
                            "pages_in": {
                              "type": "long"
                            },
                            "pages_out": {
                              "type": "long"
                            },
                            "rss": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "rss_huge": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "swap": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            },
                            "unevictable": {
                              "properties": {
                                "bytes": {
                                  "type": "long"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "path": {
                      "ignore_above": 1024,
                      "index": "not_analyzed",
                      "type": "string"
                    }
                  }
                },
                "cmdline": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "cpu": {
                  "properties": {
                    "start_time": {
                      "type": "date"
                    },
                    "system": {
                      "type": "long"
                    },
                    "total": {
                      "properties": {
                        "pct": {
                          "type": "float"
                        },
                        "ticks": {
                          "type": "long"
                        }
                      }
                    },
                    "user": {
                      "type": "long"
                    }
                  }
                },
                "fd": {
                  "properties": {
                    "limit": {
                      "properties": {
                        "hard": {
                          "type": "long"
                        },
                        "soft": {
                          "type": "long"
                        }
                      }
                    },
                    "open": {
                      "type": "long"
                    }
                  }
                },
                "memory": {
                  "properties": {
                    "rss": {
                      "properties": {
                        "bytes": {
                          "type": "long"
                        },
                        "pct": {
                          "type": "float"
                        }
                      }
                    },
                    "share": {
                      "type": "long"
                    },
                    "size": {
                      "type": "long"
                    }
                  }
                },
                "name": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "pgid": {
                  "type": "long"
                },
                "pid": {
                  "type": "long"
                },
                "ppid": {
                  "type": "long"
                },
                "state": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "username": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                }
              }
            }
          }
        },
        "tags": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "type": {
          "ignore_above": 1024,
          "index": "not_analyzed",
          "type": "string"
        },
        "zookeeper": {
          "properties": {
            "mntr": {
              "properties": {
                "approximate_data_size": {
                  "type": "long"
                },
                "ephemerals_count": {
                  "type": "long"
                },
                "followers": {
                  "type": "long"
                },
                "hostname": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "latency": {
                  "properties": {
                    "avg": {
                      "type": "long"
                    },
                    "max": {
                      "type": "long"
                    },
                    "min": {
                      "type": "long"
                    }
                  }
                },
                "max_file_descriptor_count": {
                  "type": "long"
                },
                "num_alive_connections": {
                  "type": "long"
                },
                "open_file_descriptor_count": {
                  "type": "long"
                },
                "outstanding_requests": {
                  "type": "long"
                },
                "packets": {
                  "properties": {
                    "received": {
                      "type": "long"
                    },
                    "sent": {
                      "type": "long"
                    }
                  }
                },
                "pending_syncs": {
                  "type": "long"
                },
                "server_state": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "synced_followers": {
                  "type": "long"
                },
                "version": {
                  "ignore_above": 1024,
                  "index": "not_analyzed",
                  "type": "string"
                },
                "watch_count": {
                  "type": "long"
                },
                "znode_count": {
                  "type": "long"
                }
              }
            }
          }
        }
      }
    }
  },
  "order": 0,
  "settings": {
    "index.refresh_interval": "5s"
  },
  "template": "metricbeat-*"
}