Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template": "elk_workshop",
- "settings": {
- "index.refresh_interval": "5s",
- "index.refresh_interval": "30s",
- "number_of_shards": 5,
- "number_of_replicas": 0
- },
- "mappings": {
- "_default_": {
- "dynamic_templates": [
- {
- "message_field": {
- "mapping": {
- "omit_norms": true,
- "type": "text"
- },
- "match_mapping_type": "string",
- "match": "message"
- }
- },
- {
- "string_fields": {
- "mapping": {
- "omit_norms": true,
- "type": "text",
- "fields": {
- "raw": {
- "ignore_above": 256,
- "type": "keyword"
- }
- }
- },
- "match_mapping_type": "string",
- "match": "*"
- }
- }
- ],
- "properties": {
- "geoip": {
- "dynamic": true,
- "properties": {
- "location": {
- "type": "geo_point"
- }
- },
- "type": "object"
- },
- "@version": {
- "type": "keyword"
- }
- },
- "_all": {
- "enabled": false
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment