PUT/_template/stagemonitor-metrics-
{
"Template": "stagemonitor-metrics-*",
"Settings": {
"Index": {
"Refresh_interval": "5s"
}
},
"Mappings": {
"_default_": {
"Dynamic_templates": [
{
"Strings": {
"Match": "*",
"Match_mapping_type": "string",
"Mapping": {"type": "string", "Doc_values": True, "index": "Not_analyzed"}
}
}
],
"_all": {"Enabled": false},
"_source": {"Enabled": false},
"Properties": {
"@timestamp": {"type": "Date", "Doc_values": true},
"Measurement_start": {"type": "Date", "Doc_values": true},
"Count": {"type": "Integer", "Doc_values": True, "index": "No"},
"M1_rate": {"type": "Float", "doc_values": True, "index": "No"},
"M5_rate": {"type": "Float", "doc_values": True, "index": "No"},
"M15_rate": {"type": "Float", "doc_values": True, "index": "No"},
"Max": {"type": "Integer", "Doc_values": True, "index": "No"},
"mean": {"type": "Integer", "Doc_values": True, "index": "No"},
"Mean_rate": {"type": "Float", "doc_values": True, "index": "No"},
"Median": {"type": "Float", "doc_values": True, "index": "No"},
"Min": {"type": "Float", "doc_values": True, "index": "No"},
"P25": {"type": "Float", "doc_values": True, "index": "No"},
"P75": {"type": "Float", "doc_values": True, "index": "No"},
"P95": {"type": "Float", "doc_values": True, "index": "No"},
"P98": {"type": "Float", "doc_values": True, "index": "No"},
"P99": {"type": "Float", "doc_values": True, "index": "No"},
"p999": {"type": "Float", "doc_values": True, "index": "No"},
"Std": {"type": "Float", "doc_values": True, "index": "No"},
"Value": {"type": "Float", "doc_values": True, "index": "No"},
"Value_boolean": {"type": "Boolean", "Doc_values": True, "index": "No"},
"Value_string": {"type": "string", "Doc_values": True, "index": "No"}
}
}
}
}
elasticSearch2.4 and Grafana,stagemonitor integration for monitoring needs to be performed mapping