zipkin icon indicating copy to clipboard operation
zipkin copied to clipboard

tag object is disable in es

Open Layfolk-zcy opened this issue 2 years ago • 0 comments

{
    "zipkin-span-2023-03-22": {
        "mappings": {
            "_source": {
                "excludes": [
                    "_q"
                ]
            },
            "dynamic_templates": [
                {
                    "strings": {
                        "match": "*",
                        "match_mapping_type": "string",
                        "mapping": {
                            "ignore_above": 256,
                            "norms": false,
                            "type": "keyword"
                        }
                    }
                }
            ],
            "properties": {
                "_q": {
                    "type": "keyword"
                },
                "annotations": {
                    "type": "object",
                    "enabled": false
                },
                "duration": {
                    "type": "long"
                },
                "id": {
                    "type": "keyword",
                    "ignore_above": 256
                },
                "kind": {
                    "type": "keyword",
                    "ignore_above": 256
                },
                "localEndpoint": {
                    "dynamic": "false",
                    "properties": {
                        "serviceName": {
                            "type": "keyword"
                        }
                    }
                },
                "name": {
                    "type": "keyword"
                },
                "parentId": {
                    "type": "keyword",
                    "ignore_above": 256
                },
                "remoteEndpoint": {
                    "dynamic": "false",
                    "properties": {
                        "serviceName": {
                            "type": "keyword"
                        }
                    }
                },
                "shared": {
                    "type": "boolean"
                },
        **the filed is disable,so it can`t search in es**
                **"tags": {
                    "type": "object",
                    "enabled": false
                }**,
                "timestamp": {
                    "type": "long"
                },
                "timestamp_millis": {
                    "type": "date",
                    "format": "epoch_millis"
                },
                "traceId": {
                    "type": "keyword"
                }
            }
        }
    }
}

Layfolk-zcy avatar Mar 22 '23 09:03 Layfolk-zcy