Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "test-template": {
- "order": 1,
- "template": "logstash-*",
- "mappings": {
- "_default_": {
- "dynamic_templates": [
- {
- "boolean_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "boolean"
- },
- "match": "*_boolean"
- }
- },
- {
- "integer_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "integer"
- },
- "match": "*_integer"
- }
- },
- {
- "long_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "long"
- },
- "match": "*_long"
- }
- },
- {
- "float_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "float"
- },
- "match": "*_float"
- }
- },
- {
- "double_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "double"
- },
- "match": "*_double"
- }
- },
- {
- "ip_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "ip"
- },
- "match": "*_ip"
- }
- },
- {
- "geo_point_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "geo_point"
- },
- "match": "*_geo_point"
- }
- },
- {
- "date_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "date"
- },
- "match": "*__date"
- }
- },
- {
- "string_fields": {
- "mapping": {
- "index": "not_analyzed",
- "omit_norms": true,
- "doc_values": true,
- "type": "string"
- },
- "match": "*_string"
- }
- },
- {
- "nested_items_template": {
- "mapping": {
- "date_detection": false,
- "fields": {
- "{name}": {
- "index": "analyzed",
- "type": "object"
- }
- }
- },
- "match_mapping_type": "object",
- "match": "*"
- }
- },
- {
- "string_fields": {
- "mapping": {
- "index": "analyzed",
- "omit_norms": true,
- "date_detection": false,
- "type": "string",
- "fields": {
- "raw": {
- "index": "not_analyzed",
- "ignore_above": 256,
- "doc_values": true,
- "type": "string"
- }
- }
- },
- "match": "*"
- }
- }
- ],
- "numeric_detection": false,
- "date_detection": false,
- "properties": {
- "@timestamp": {
- "type": "date"
- },
- "geoip": {
- "properties": {
- "coordinates": {
- "type": "geo_point"
- },
- "ip": {
- "type": "ip"
- }
- }
- }
- }
- }
- },
- "aliases": {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement