Skip to content

Instantly share code, notes, and snippets.

@myoung34
Created July 30, 2018 17:28
Show Gist options
  • Save myoung34/6ba25052c195e0d7ecc57c550b10efc3 to your computer and use it in GitHub Desktop.
Save myoung34/6ba25052c195e0d7ecc57c550b10efc3 to your computer and use it in GitHub Desktop.
apm-6.3.0
{
"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": {
"_meta": {
"version": "6.3.0"
},
"date_detection": false,
"dynamic_templates": [
{
"transaction.marks": {
"path_match": "transaction.marks.*",
"mapping": {
"type": "keyword"
},
"match_mapping_type": "string"
}
},
{
"strings_as_keyword": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string"
}
}
],
"properties": {
"transaction": {
"dynamic": false,
"properties": {
"span_count": {
"properties": {
"dropped": {
"properties": {
"total": {
"type": "long"
}
}
}
}
},
"name": {
"type": "text",
"norms": false,
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"duration": {
"properties": {
"us": {
"type": "long"
}
}
},
"result": {
"type": "keyword",
"ignore_above": 1024
},
"marks": {
"dynamic": true,
"type": "object"
},
"sampled": {
"type": "boolean"
}
}
},
"view spans": {
"type": "keyword",
"ignore_above": 1024
},
"span": {
"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"
}
},
"dynamic": false
}
}
}
},
"aliases": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment