Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template": "eagle_metric*",
- "settings": {
- "index.cache.field.type": "soft",
- "index.store.compress.stored": true,
- "index.refresh_interval": "5s",
- "index.query.default_field": "name",
- "number_of_shards": 7,
- "number_of_replicas": 2
- },
- "mappings": {
- "_default_": {
- "_all": {
- "enabled": true
- },
- "_source": {
- "compress": true
- },
- "dynamic_templates": [
- {
- "field_message_template": {
- "mapping": {
- "index": "analyzed",
- "type": "string"
- },
- "match_mapping_type": "string",
- "path_match": "name"
- }
- },
- {
- "field_message_template": {
- "mapping": {
- "index": "analyzed",
- "type": "string"
- },
- "match_mapping_type": "string",
- "path_match": "siteId"
- }
- },
- {
- "field_message_template": {
- "mapping": {
- "index": "analyzed",
- "type": "string"
- },
- "match_mapping_type": "string",
- "path_match": "appId"
- }
- },
- {
- "field_message_template": {
- "mapping": {
- "index": "analyzed",
- "type": "string"
- },
- "match_mapping_type": "string",
- "path_match": "appExecId"
- }
- },
- {
- "field_message_template": {
- "mapping": {
- "index": "analyzed",
- "type": "string"
- },
- "match_mapping_type": "string",
- "path_match": "componentId"
- }
- },
- {
- "field_timestamp_template": {
- "mapping": {
- "index": "not_analyzed",
- "type": "date"
- },
- "match_mapping_type": "string",
- "path_match": "*timestamp"
- }
- },
- {
- "field_gctime_template": {
- "mapping": {
- "index": "not_analyzed",
- "type": "double"
- },
- "match_mapping_type": "string",
- "path_match": "value"
- }
- }
- ],
- "_ttl": {
- "enabled": true,
- "default": "7d"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement