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

[Metrics] Metrics Explorer does not show all terms in "graph per" #62346

Closed
bvader opened this issue Apr 2, 2020 · 1 comment · Fixed by #63398
Closed

[Metrics] Metrics Explorer does not show all terms in "graph per" #62346

bvader opened this issue Apr 2, 2020 · 1 comment · Fixed by #63398
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Metrics UI Metrics UI feature

Comments

@bvader
Copy link

bvader commented Apr 2, 2020

@sorantis
@simianhacker

Kibana version: 7.6.2, 7.7 Snaphot

Elasticsearch version: 7.6.2, 7.7 Snaphot

Describe the bug:
Metrics Explorer does not show all terms in "graph per" selector after a metric has been added to the graph. All terms are show before adding metrics, and terms should show after adding a metric.

Steps to reproduce:

  1. Add some additional terms to metricbeat agent / index
    example
processors:
  - add_fields:
      target: project
      fields:
        name: myproject
        id: '574734885120952459'

  1. Setup and run metricbeat

  2. Navigate to Metrics Explorer and start typing in field you want to "graph per" example
    Example ... project.name. Observe project.name can be selected... add a metric examplesystem.load.1and you can graph.

Screen Shot 2020-04-02 at 9 31 35 AM

Screen Shot 2020-04-02 at 9 35 56 AM

  1. Remove metric and project.name in "graph per"

  2. This time add metric first example system.load.1 and now navigate to "graph per" and try to select project.name. Observe it is not available, it appears only ECS fields are available.

Screen Shot 2020-04-02 at 9 37 33 AM

Expected behavior:
I should be able to graph by arbitrary terms when added after the metric. If you remove the metric the project.name fields is available. If you add the term ahead you can graph per just fine.

Any additional context:
Screen shot from the telegraf project. tag.host is a term so there is a work around to add the term first but it does not allow easy exploration by term.

Screen Shot 2020-04-02 at 9 41 08 AM

@bvader bvader added Feature:Metrics UI Metrics UI feature bug Fixes for quality problems that affect the customer experience labels Apr 2, 2020
@simianhacker simianhacker self-assigned this Apr 13, 2020
@simianhacker
Copy link
Member

@bvader I just created a PR to remove the remaining field filtering, it will be backported to 7.7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Metrics UI Metrics UI feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants