Skip to content

Instantly share code, notes, and snippets.

@afalko
Created August 10, 2018 06:12
Show Gist options
  • Save afalko/87e426deda1b2dd2380e4a6ed6dc3273 to your computer and use it in GitHub Desktop.
Save afalko/87e426deda1b2dd2380e4a6ed6dc3273 to your computer and use it in GitHub Desktop.
{
"zipkin:span_template": {
"order": 0,
"index_patterns": [
"zipkin:span-*"
],
"settings": {
"index": {
"mapper": {
"dynamic": "false"
},
"requests": {
"cache": {
"enable": "true"
}
},
"analysis": {
"filter": {
"traceId_filter": {
"type": "pattern_capture",
"preserve_original": "true",
"patterns": [
"([0-9a-f]{1,16})$"
]
}
},
"analyzer": {
"traceId_analyzer": {
"filter": "traceId_filter",
"type": "custom",
"tokenizer": "keyword"
}
}
},
"number_of_shards": "5",
"number_of_replicas": "1"
}
},
"mappings": {
"span": {
"properties": {
"traceId": {
"type": "keyword",
"norms": false
},
"annotations": {
"enabled": false
},
"tags": {
"enabled": false
}
}
},
"_default_": {}
},
"aliases": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment