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

[Fleet] TSDB: add dimension mapping for the dynamic templates #179649

Closed
tetianakravchenko opened this issue Mar 28, 2024 · 1 comment · Fixed by #180023
Closed

[Fleet] TSDB: add dimension mapping for the dynamic templates #179649

tetianakravchenko opened this issue Mar 28, 2024 · 1 comment · Fixed by #180023
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@tetianakravchenko
Copy link
Contributor

Describe the feature:
we need Fleet to support the dimension parameter for the dynamic templates for fields with the type object
Now it is already supported by the Elasticsearch to have a field of type object as a dimension - see elastic/integrations#9400

Describe a specific use case for the feature:
For example - for some integrations (like Prometheus, istio, etc) we need to define labels.* object as a dimension:

    - name: labels.*
      type: object
      object_type: keyword
      dimension: true
      description: |
        Prometheus metric labels

expected dynamic mapping:

{
  "dynamic_templates": [
    {
      "prometheus.labels.*": {
        "path_match": "prometheus.labels.*",
        "match_mapping_type": "string",
        "mapping": {
          "time_series_dimension": true,
          "type": "keyword"
        }
      }
    }
  ]
}

Note: field can't have simultaneously dimension and metric_typedefined

@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 28, 2024
@lalit-satapathy lalit-satapathy added the Team:Fleet Team label for Observability Data Collection Fleet team label Apr 2, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 2, 2024
@jsoriano jsoriano self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants