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 visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0 #100778

Closed
nicenemo opened this issue May 27, 2021 · 7 comments · Fixed by #100864
Closed
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) patch-worthy regression Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nicenemo
Copy link

Kibana version: 7.12.1 to 7.13.0

Elasticsearch version: 7.12.1 to 7.13.0

Server OS version: Debian 10 or Elastic cloud on AWS

Browser version: latest Chrome or Safari

Browser OS version: latest Chrome or Safari

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

Debian for our own Install. No idea how you install Elastic Cloud, I guess Kubernetes

Describe the bug:

When Upgrading from 7.12.1 to 7.13.0 in some of our TSVB views the time field was gone.
Results in No Results in the dashboarda

Steps to reproduce:

  1. Have a bunch of TSVB views with Time field in Kibana
  2. Upgrade to 7.13.0
  3. Observe No Results
  4. Check views and notice that Time field is gone

Expected behavior:

Time field is converted.

Screenshots (if relevant):

Sorry company sensitive.

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

@nicenemo nicenemo added the bug Fixes for quality problems that affect the customer experience label May 27, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label May 27, 2021
@Dosant Dosant added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 27, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 27, 2021
@stratoula
Copy link
Contributor

@nicenemo thanx a lot for reporting this. I can only replicate this for TSVB visualizations that have been created without configuring the timefield. Is this the case? If not, can you give us more information?

As a workaround, for now, you can select the timefield from the dropdown. We will work on a fix asap.

@nicenemo
Copy link
Author

nicenemo commented May 27, 2021

Efxaristo Poli
Probably confirmed. That is what my user did to fix it.

alexwizp added a commit to alexwizp/kibana that referenced this issue May 28, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue May 28, 2021
alexwizp added a commit to alexwizp/kibana that referenced this issue May 28, 2021
Closes: elastic#100778
# Conflicts:
#	src/plugins/vis_type_timeseries/public/application/components/index_pattern.js
kibanamachine added a commit that referenced this issue May 28, 2021
…0883)

Closes: #100778

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
alexwizp added a commit that referenced this issue May 31, 2021
…0888)

Closes: #100778
# Conflicts:
#	src/plugins/vis_type_timeseries/public/application/components/index_pattern.js
@clintandrewhall clintandrewhall changed the title Upgrading from 7.12.1 to 7.13.0 breaks TSVB Upgrading from 7.12.1 to 7.13.0 breaks TSVB visualizations with no timefield Jun 2, 2021
@clintandrewhall clintandrewhall changed the title Upgrading from 7.12.1 to 7.13.0 breaks TSVB visualizations with no timefield TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0 Jun 2, 2021
@GrahamHannington
Copy link

GrahamHannington commented Jun 15, 2021

Argh! I've been using .kibana as the index pattern, with no time field, for TSVB Markdown visualizations, as a safe/innocuous solution where I'm only using TSVB because I want custom CSS, and the "normal" Markdown panel doesn't yet support that. This bug badly breaks my dashboards ("No results found" on all those TSVB Markdown panels 😞 ). Thanks for fixing it quickly.

@GrahamHannington
Copy link

7.13.2 does not fix this issue for me 😞.

@stratoula
Copy link
Contributor

@GrahamHannington I assume that you are using .kibana as an es index, not as an index pattern, right?

@GrahamHannington
Copy link

GrahamHannington commented Jun 16, 2021

@stratoula wrote:

@GrahamHannington I assume that you are using .kibana as an es index, not as an index pattern, right?

I have defined .kibana as an index pattern. For details, including a Kibana screenshot that shows .kibana being used as an index pattern, see issue #102329.

alexwizp added a commit to alexwizp/kibana that referenced this issue Jun 17, 2021
alexwizp added a commit that referenced this issue Jun 18, 2021
…rom 7.12.1 to 7.13.0 (#102494)

* TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0

Part of: #100778

* fix CI
alexwizp added a commit to alexwizp/kibana that referenced this issue Jun 18, 2021
…rom 7.12.1 to 7.13.0 (elastic#102494)

* TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0

Part of: elastic#100778

* fix CI
alexwizp added a commit to alexwizp/kibana that referenced this issue Jun 18, 2021
…rom 7.12.1 to 7.13.0 (elastic#102494)

* TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0

Part of: elastic#100778

* fix CI
# Conflicts:
#	src/plugins/vis_type_timeseries/server/lib/vis_data/get_interval_and_timefield.ts
#	src/plugins/vis_type_timeseries/server/lib/vis_data/get_table_data.ts
#	src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.js
#	src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js
#	src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/date_histogram.js
alexwizp added a commit that referenced this issue Jun 18, 2021
…rom 7.12.1 to 7.13.0 (#102494) (#102641)

* TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0

Part of: #100778

* fix CI
alexwizp added a commit that referenced this issue Jun 18, 2021
…ading from 7.12.1 to 7.13.0 (#102494) (#102645)

* TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0 (#102494)

* TSVB visualizations with no timefield do not render after upgrading from 7.12.1 to 7.13.0

Part of: #100778

* fix CI
# Conflicts:
#	src/plugins/vis_type_timeseries/server/lib/vis_data/get_interval_and_timefield.ts
#	src/plugins/vis_type_timeseries/server/lib/vis_data/get_table_data.ts
#	src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.js
#	src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js
#	src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/date_histogram.js

* fix CI
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) patch-worthy regression Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants