Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag object is disable in es #3516

Open
Layfolk-zcy opened this issue Mar 22, 2023 · 0 comments
Open

tag object is disable in es #3516

Layfolk-zcy opened this issue Mar 22, 2023 · 0 comments
Labels

Comments

@Layfolk-zcy
Copy link

{
    "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"
                }
            }
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant