Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template": "fgt-backfill-*",
- "order": 1,
- "settings": {
- "index": {
- "number_of_shards": 5,
- "number_of_replicas": 1
- },
- "analysis": {
- "analyzer": {
- "analyzer-name": {
- "type": "custom",
- "tokenizer": "keyword",
- "filter": "lowercase"
- }
- }
- },
- "mappings": {
- "fgt-backfill": {
- "dynamic_templates": [
- {
- "message_field": {
- "mapping": {
- "fielddata": {
- "format": "disabled"
- },
- "index": "analyzed",
- "omit_norms": true,
- "type": "string"
- },
- "match": "message",
- "match_mapping_type": "string"
- }
- },
- {
- "string_fields": {
- "mapping": {
- "fielddata": {
- "format": "disabled"
- },
- "index": "analyzed",
- "omit_norms": true,
- "type": "string",
- "fields": {
- "raw": {
- "ignore_above": 256,
- "index": "not_analyzed",
- "type": "string",
- "doc_values": true
- }
- }
- },
- "match": "*",
- "match_mapping_type": "string"
- }
- },
- {
- "float_fields": {
- "mapping": {
- "type": "float",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "float"
- }
- },
- {
- "double_fields": {
- "mapping": {
- "type": "double",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "double"
- }
- },
- {
- "byte_fields": {
- "mapping": {
- "type": "byte",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "byte"
- }
- },
- {
- "short_fields": {
- "mapping": {
- "type": "short",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "short"
- }
- },
- {
- "integer_fields": {
- "mapping": {
- "type": "integer",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "integer"
- }
- },
- {
- "long_fields": {
- "mapping": {
- "type": "long",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "long"
- }
- },
- {
- "date_fields": {
- "mapping": {
- "type": "date",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "date"
- }
- },
- {
- "geo_point_fields": {
- "mapping": {
- "type": "geo_point",
- "doc_values": true
- },
- "match": "*",
- "match_mapping_type": "geo_point"
- }
- }
- ],
- "properties": {
- "@timestamp": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "@version": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dstip": {
- "type": "ip",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "rcvd": {
- "type": "byte",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "rcvd_pkt": {
- "type": "string",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "rcvdpkt": {
- "type": "string",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "rcvdbyte": {
- "type": "byte",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "sent": {
- "type": "byte",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "sent_pkt": {
- "type": "string",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "sentbyte": {
- "type": "byte",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "srcip": {
- "type": "ip",
- "norms": {
- "enabled": false
- },
- "fielddata": {
- "format": "disabled"
- },
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed",
- "ignore_above": 256
- }
- }
- },
- "geoip": {
- "dynamic": "true",
- "properties": {
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "float"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "float"
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement