Created
July 6, 2016 07:09
-
-
Save boeboe/be740a759e87f77a8863135a86ac6b16 to your computer and use it in GitHub Desktop.
Default topbeat template for elastic search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"topbeat" : { | |
"order" : 0, | |
"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