Skip to content

[Azure Resource Metrics] Tags name containing a dot will cause a mapper_parsing_exception #5615

Open

Description

With the default mapping provided by this integration, any resource that have a tag name containing a dot will cause a mapper_parsing_exception and will fail to index.

To avoid this issue, the following option can be added to the mapping :

{
    "mappings": {
        "properties": {
            "azure": {
                "properties": {
                    "resource": {
                        "properties": {
                            "tags": {
                                "subobjects": false
                            }
                        }
                    }
                }
            }
        }
    }
}

Of course this requires Elasticsearch >= 8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Integration:azure_metricsAzure Resource MetricsTeam:obs-ds-hosted-servicesLabel for the Observability Hosted Services team [elastic/obs-ds-hosted-services]bugSomething isn't working, use only for issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions