1. add volume for es logs 2. optimize health check, waiting for es status to be green 3. fix es6 valume path error 4. optimize disk watermark to avoid es disk watermark error 5. fix es6 create index error 6. add custom elasticsearch.yml for es6 7. add log4j2.properties for es6, es7, es8
104 lines
2.0 KiB
JSON
Executable File
104 lines
2.0 KiB
JSON
Executable File
{
|
|
"settings": {
|
|
"number_of_shards": 1,
|
|
"number_of_replicas": 0
|
|
},
|
|
"mappings": {
|
|
"doc": {
|
|
"properties": {
|
|
"test1": {
|
|
"type": "keyword"
|
|
},
|
|
"test2": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"test3": {
|
|
"type": "double"
|
|
},
|
|
"test4": {
|
|
"type": "date"
|
|
},
|
|
"test5": {
|
|
"type": "long"
|
|
},
|
|
"test6": {
|
|
"type": "date"
|
|
},
|
|
"c_bool": {
|
|
"type": "boolean"
|
|
},
|
|
"c_byte": {
|
|
"type": "byte"
|
|
},
|
|
"c_short": {
|
|
"type": "short"
|
|
},
|
|
"c_integer": {
|
|
"type": "integer"
|
|
},
|
|
"c_long": {
|
|
"type": "long"
|
|
},
|
|
"c_unsigned_long": {
|
|
"type": "long"
|
|
},
|
|
"c_float": {
|
|
"type": "float"
|
|
},
|
|
"c_half_float": {
|
|
"type": "half_float"
|
|
},
|
|
"c_double": {
|
|
"type": "double"
|
|
},
|
|
"c_scaled_float": {
|
|
"type": "scaled_float",
|
|
"scaling_factor": 0.01
|
|
},
|
|
"c_date": {
|
|
"type": "date",
|
|
"format": "yyyy-MM-dd"
|
|
},
|
|
"c_datetime": {
|
|
"type": "date",
|
|
"format": "yyyy-MM-dd HH:mm:ss"
|
|
},
|
|
"c_keyword": {
|
|
"type": "keyword"
|
|
},
|
|
"c_text": {
|
|
"type": "text"
|
|
},
|
|
"c_ip": {
|
|
"type": "ip"
|
|
},
|
|
"c_person": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "keyword"
|
|
},
|
|
"age": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"message": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|