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

TSVB displays an empty field list when a non-default index pattern is specified #22575

Closed
NeonSludge opened this issue Aug 31, 2018 · 5 comments · Fixed by #24832
Closed

TSVB displays an empty field list when a non-default index pattern is specified #22575

NeonSludge opened this issue Aug 31, 2018 · 5 comments · Fixed by #24832
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@NeonSludge
Copy link

Kibana version: 6.4.0

Elasticsearch version: 6.4.0

Server OS version: CentOS Linux release 7.4.1708 (Core) (Linux 4.14.12)

Browser version: Chrome 68.0.3440.106

Browser OS version: Windows 7 Enterprise x64

Original install method (e.g. download page, yum, from source, etc.): yum

Describe the bug:

Timeseries Visual Builder fails to list available index fields when a non-default index pattern name is specified on the "Panel Options" tab.

Steps to reproduce:

  1. Open TSVB, do not change any settings. The default "Count" aggregation with the default index pattern is rendered correctly.
  2. Switch to the "Panel Options" tab, change the index pattern name to a different one. The "Count" aggregation is working as it should with this new index pattern.
  3. Switch back to the "Data" tab, select a different aggregation from the "Aggregation" drop-down list.
  4. Try to select a field from the "Field" drop-down list. TSVB displays a "There aren’t any options available" message.

Screenshot:
https://i.imgur.com/GrZr5hi.png

Expected behavior:
TSVB displays a valid field list in the "Field" drop-down menu.

Any additional context:
This has been tested with a fresh Kibana 6.4.0 instance (no plugins, latest release tarball from elastic.co).
TSVB visualizations created in older versions of Kibana work without any issues.
Based on the request log from Kibana, it seems that TSVB doesn't re-request the field list when the index pattern changes. The initial request for the default index pattern is there (it can be seen on the screenshot above) but after that there are no such requests.

@kobelb kobelb added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience triage_needed labels Sep 4, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 13, 2018
@alexfrancoeur
Copy link

@timroes I'm able to reproduce this in master as well. I just spoke with the customer who opened this bug. This seems like a pretty big regression. Any chance we can get it fixed in a 6.4 patch release?

@timroes timroes added Feature:TSVB TSVB (Time Series Visual Builder) and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Oct 18, 2018
@p8952
Copy link

p8952 commented Oct 31, 2018

Is there any workaround for this issue?

@timroes
Copy link
Contributor

timroes commented Oct 31, 2018

@markov00 could you perhaps check if this issue is related to the other TSVB issue you just fixed and perhaps check if your PR already fixes this, because it feels very related.

@markov00
Copy link
Member

@timroes yes this is the same problem identified here: #22931
I'm currently fixing it on #24832

@p8952 unfortunately the current workaround is to change the dates in the timepicker (this trigger the rendering of the missing fields)

@p8952
Copy link

p8952 commented Oct 31, 2018

Thanks @markov00, that worked 😄

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:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants