Skip to content

Commit

Permalink
Create perfmon-es-mapping-template
Browse files Browse the repository at this point in the history
  • Loading branch information
anhlqn authored Jul 8, 2018
1 parent 52390db commit c556c2b
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions perfmon-es-mapping-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"order": 0,
"template": "log_perfmon-*",
"settings": {
"index": {
"mapping": {
"ignore_malformed": "true"
},
"refresh_interval": "5s",
"unassigned": {
"node_left": {
"delayed_timeout": "3m"
}
},
"number_of_shards": "1",
"number_of_replicas": "1"
}
},
"mappings": {
"perfmon": {
"_all": {
"enabled": false
},
"dynamic_templates": [
{
"float_fields": {
"mapping": {
"index": false,
"type": "float",
"doc_values": true
},
"match": "*"
}
}
],
"properties": {
"hostname": {
"type": "keyword"
},
"@timestamp": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
}
"type": {
"type": "keyword"
},
"tags": {
"type": "keyword"
}
}
}
}
}

0 comments on commit c556c2b

Please sign in to comment.