Slide 19
Slide 19 text
Index template͚ͭͨΒಡΊͳ
͍ͬͯݴΘΕΔ
• index template:
elasticsearchʹೖΔ
࣌ͷmappingΛࢦ
ఆͰ͖Δ
• index໊Λ݅ʹܕ
ΛܾΊΒΕΔ
{
"templates": “awesomelog-*",
"settings": {
"number_of_shards" : 1
},
"mappings": {
"awesomelogs" : {
"properties" : {
"@timestamp" : {
"type" : "date",
"format" : "strict_date_optional_time||epoch_millis"
},
"act0" : {
"type" : "integer"
},
"act1" : {
"type" : "integer"
},
"act10" : {
"type" : "string",
"index": "not_analyzed"
},
"act11" : {
"type" : "string"
},
"act2" : {
"type" : "integer"
},
"act3" : {
"type" : "integer"
},
"act4" : {
"type" : "string"
},
"act5" : {
"type": "multi_field",
"fields": {