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] Runtime fields not fully working with annotations #104293

Closed
immavalls opened this issue Jul 5, 2021 · 1 comment · Fixed by #104287
Closed

[TSVB] Runtime fields not fully working with annotations #104293

immavalls opened this issue Jul 5, 2021 · 1 comment · Fixed by #104287
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

@immavalls
Copy link

Kibana version:
7.13.2

Elasticsearch version:
7.13.2

Server OS version:
N/A

Browser version:
N/A

Browser OS version:
N/A

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

Describe the bug:

When creating a TSVB, if the index pattern used for Annotations has a runtime field, it works for the query string, but it's not recognized in the markdown.

Steps to reproduce:

  1. Create a TSVB with any index that has a runtime field. e.g. day_of_week as in https://www.elastic.co/guide/en/elasticsearch/reference/master/runtime-mapping-fields.html#runtime-mapping-fields
  2. We can use it in the query string day_of_week: "Thursday"
    image
  3. But if we use it in the fields / row template, it is not recognized Error processing your markdown {{day_of_week}} is un unknown variable
    image

Expected behavior:
Same as a regular field, to be able to use it in the annotations markdown.

Any additional context:
Runtime fields supported since 7.13.0 as per #82438

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

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

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.

4 participants