Created
July 30, 2018 14:47
-
-
Save myoung34/ea74a29b398a6a0d44103bef833e9c7b to your computer and use it in GitHub Desktop.
apm-6.3.0 ES template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "apm-6.3.0": { | |
| "order": 1, | |
| "index_patterns": [ | |
| "apm-6.3.0-*" | |
| ], | |
| "settings": { | |
| "index": { | |
| "number_of_routing_shards": "30", | |
| "mapping": { | |
| "total_fields": { | |
| "limit": "10000" | |
| } | |
| }, | |
| "refresh_interval": "5s" | |
| } | |
| }, | |
| "mappings": { | |
| "doc": { | |
| "dynamic_templates": [ | |
| { | |
| "transaction.marks": { | |
| "path_match": "transaction.marks.*", | |
| "mapping": { | |
| "type": "keyword" | |
| }, | |
| "match_mapping_type": "string" | |
| } | |
| }, | |
| { | |
| "transaction.marks.navigationTiming": { | |
| "mapping": { | |
| "type": "scaled_float", | |
| "scaling_factor": 1000000 | |
| }, | |
| "match_mapping_type": "*", | |
| "path_match": "transaction.marks.navigationTiming.*" | |
| } | |
| }, | |
| { | |
| "strings_as_keyword": { | |
| "mapping": { | |
| "type": "keyword", | |
| "ignore_above": 1024 | |
| }, | |
| "match_mapping_type": "string" | |
| } | |
| } | |
| ], | |
| "properties": { | |
| "view spans": { | |
| "type": "keyword", | |
| "ignore_above": 1024 | |
| }, | |
| "span": { | |
| "dynamic": false, | |
| "properties": { | |
| "id": { | |
| "type": "long" | |
| }, | |
| "name": { | |
| "type": "keyword", | |
| "ignore_above": 1024 | |
| }, | |
| "type": { | |
| "type": "keyword", | |
| "ignore_above": 1024 | |
| }, | |
| "start": { | |
| "properties": { | |
| "us": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "duration": { | |
| "properties": { | |
| "us": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "parent": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "transaction": { | |
| "dynamic": false, | |
| "properties": { | |
| "name": { | |
| "type": "text", | |
| "norms": false, | |
| "fields": { | |
| "keyword": { | |
| "ignore_above": 1024, | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "type": { | |
| "type": "keyword", | |
| "ignore_above": 1024 | |
| }, | |
| "duration": { | |
| "properties": { | |
| "us": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "result": { | |
| "ignore_above": 1024, | |
| "type": "keyword" | |
| }, | |
| "marks": { | |
| "type": "object", | |
| "dynamic": true, | |
| "properties": { | |
| "navigationTiming": { | |
| "dynamic": true, | |
| "type": "object" | |
| } | |
| } | |
| }, | |
| "sampled": { | |
| "type": "boolean" | |
| }, | |
| "span_count": { | |
| "properties": { | |
| "dropped": { | |
| "properties": { | |
| "total": { | |
| "type": "long" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "_meta": { | |
| "version": "6.3.0" | |
| }, | |
| "date_detection": false | |
| } | |
| }, | |
| "aliases": {} | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment