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

Elastic agent field mapping is missing mapping for TBS metrics #15204

Closed
lahsivjar opened this issue Jan 10, 2025 · 1 comment
Closed

Elastic agent field mapping is missing mapping for TBS metrics #15204

lahsivjar opened this issue Jan 10, 2025 · 1 comment
Labels

Comments

@lahsivjar
Copy link
Contributor

https://github.com/elastic/integrations/blob/main/packages/elastic_agent/data_stream/apm_server_metrics/fields/beat-fields.yml is missing mapping for TBS metrics (sampling.tail.*).

Workaround would be to add custom mapping for TBS via custom component template. Something like:

PUT _component_template/metrics-elastic_agent.apm_server@custom
{
  "template": {
    "mappings": {
      "properties": {
        "beat.stats.apm_server.sampling.tail.dynamic_service_groups": {
          "type": "long"
        },
        "beat.stats.apm_server.sampling.tail.events.dropped": {
          "type": "long"
        },
        "beat.stats.apm_server.sampling.tail.events.failed_writes": {
          "type": "long"
        },
        "beat.stats.apm_server.sampling.tail.events.head_unsampled": {
          "type": "long"
        },
        "beat.stats.apm_server.sampling.tail.events.processed": {
          "type": "long"
        },
        "beat.stats.apm_server.sampling.tail.events.sampled": {
          "type": "long"
        },
        "beat.stats.apm_server.sampling.tail.events.stored": {
          "type": "long"
        }
      }
    }
  }
}
@lahsivjar lahsivjar added the bug label Jan 10, 2025
@carsonip
Copy link
Member

Seems to be a duplicate of #14247

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

2 participants