Skip to content

Instantly share code, notes, and snippets.

@Veraticus
Forked from boeboe/topbeat.template.json
Last active August 17, 2016 21:52
Show Gist options
  • Save Veraticus/9d383808a9bc964b83dd416816591c75 to your computer and use it in GitHub Desktop.
Save Veraticus/9d383808a9bc964b83dd416816591c75 to your computer and use it in GitHub Desktop.
Default topbeat template for elastic search
{
"template" : "topbeat-*",
"settings" : {
"index" : {
"refresh_interval" : "5s"
}
},
"mappings" : {
"_default_" : {
"dynamic_templates" : [ {
"template1" : {
"mapping" : {
"ignore_above" : 1024,
"index" : "not_analyzed",
"type" : "{dynamic_type}",
"doc_values" : true
},
"match" : "*"
}
} ],
"_all" : {
"norms" : {
"enabled" : false
},
"enabled" : true
},
"properties" : {
"proc" : {
"properties" : {
"mem" : {
"properties" : {
"rss_p" : {
"type" : "float",
"doc_values" : "true"
}
}
},
"cpu" : {
"properties" : {
"user_p" : {
"type" : "float",
"doc_values" : "true"
}
}
}
}
},
"@timestamp" : {
"type" : "date"
},
"load" : {
"properties" : {
"load5" : {
"type" : "float",
"doc_values" : "true"
},
"load1" : {
"type" : "float",
"doc_values" : "true"
},
"load15" : {
"type" : "float",
"doc_values" : "true"
}
}
},
"mem" : {
"properties" : {
"used_p" : {
"type" : "float",
"doc_values" : "true"
},
"actual_used_p" : {
"type" : "float",
"doc_values" : "true"
}
}
},
"swap" : {
"properties" : {
"used_p" : {
"type" : "float",
"doc_values" : "true"
}
}
},
"cpu" : {
"properties" : {
"user_p" : {
"type" : "float",
"doc_values" : "true"
},
"system_p" : {
"type" : "float",
"doc_values" : "true"
}
}
},
"fs" : {
"properties" : {
"used_p" : {
"type" : "float",
"doc_values" : "true"
}
}
}
}
}
},
"aliases" : { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment