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

[Meta] Known TSVB payload validation errors #62273

Closed
timroes opened this issue Apr 2, 2020 · 2 comments
Closed

[Meta] Known TSVB payload validation errors #62273

timroes opened this issue Apr 2, 2020 · 2 comments
Labels
Feature:TSVB TSVB (Time Series Visual Builder) Meta Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@timroes
Copy link
Contributor

timroes commented Apr 2, 2020

TSVB currently only logs failures when validating request payload to the Kibana log. You'll see a message like:

Request validation error: child "panels" fails because ["panels" at position 0 fails because [<some error message>]] (saved object id: 1123-12312-123123). This most likely means your TSVB visualization contains outdated configuration. You can report this problem under https://github.com/elastic/kibana/issues/new?template=Bug_report.md

If you come across an error like that and the <some error message> part in the above message is not one of the following, please create an issue for it or leave a comment under this issue.

Known errors

  • "gauge_color_rules" at position 0 fails because ["opperator" is not allowed] (that is indeed with two "p", if you would see this failing with one "p" it's a different one)
  • "gauge_color_rules" at position 0 fails because ["text" is not allowed] (could also be combined in one failure with the message above)
  • "series" at position 0 fails because [child "filter" fails because ["filter" must be an object]]
  • "metrics" at position 0 fails because ["percentiles" is not allowed]
  • "series" at position 0 fails because [child "fill" fails because ["fill" must be a number]]
  • ["panels" at position 0 fails because [child "background_color_rules" fails because ["background_color_rules" at position 0 fails because ["operator" is not allowed]]]]
  • "series" at position 0 fails because [child "metrics" fails because ["metrics" at position 0 fails because ["size" is not allowed, "agg_with" is not allowed, "order" is not allowed, "order_by" is not allowed]]]
@timroes timroes added Meta Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Apr 2, 2020
@elasticmachine
Copy link
Contributor

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

@stratoula
Copy link
Contributor

This has been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) Meta Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants