Skip to content

[TSDB] TSDB enablement fails when there is a field of type text #96254

@constanca-m

Description

@constanca-m

Note: similar issue was opened and close for type flattened.

When using Kubernetes integration, there is a message field of type text:

    - name: message
      type: text
      description: |
        Message recorded for the given event

This field is not a dimension. However, when trying to enable TSDB, it fails, showing this error:

illegal_argument_exception Caused by: illegal_argument_exception: invalid composite mappings for [metrics-kubernetes.event] Root causes: illegal_argument_exception: composable template [metrics-kubernetes.event] template after composition with component templates [metrics-kubernetes.event@package, metrics-kubernetes.event@custom, .fleet_globals-1, .fleet_agent_id_verification-1] is invalid

I tried to delete the field to understand if this was the cause of this error, and the integration was then added with no problems. If I try to add the field again, and update the integration, it fails:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    :StorageEngine/TSDBYou know, for Metrics>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions