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

Error when filtering by Painless scripted field on a dashboard that includes a Timelion chart #9021

Closed
tbragin opened this issue Nov 10, 2016 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Scripted Fields Scripted fields features Feature:Timelion Timelion app and visualization

Comments

@tbragin
Copy link
Contributor

tbragin commented Nov 10, 2016

Kibana/ES version:
5.0.0

Server OS version:
Elastic Cloud

Browser version:
Chrome Version 54.0.2840.87 (64-bit)

Description of the problem including expected versus actual behavior:
Filtering by a scripted field on a dashboard that includes a TImelion chart results in exception.

Steps to reproduce:

  1. Create a Painless scripted field
  2. Add it to a visualization
  3. Create a Timeseries (Timelion) chart
  4. Add both charts to the dashboard
  5. Filter by a scripted field

screen shot 2016-11-09 at 7 33 41 pm

@tbragin tbragin added Feature:Dashboard Dashboard related features :Sharing Feature:Timelion Timelion app and visualization Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Nov 10, 2016
@tbragin tbragin changed the title Error when filtering by scripted field on a dashboard that includes a TImelion chart Error when filtering by scripted field on a dashboard that includes a Timelion chart Nov 10, 2016
@tbragin tbragin changed the title Error when filtering by scripted field on a dashboard that includes a Timelion chart Error when filtering by Painless scripted field on a dashboard that includes a Timelion chart Nov 10, 2016
@tbragin tbragin removed Feature:Dashboard Dashboard related features :Sharing Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Nov 10, 2016
@tbragin
Copy link
Contributor Author

tbragin commented Nov 10, 2016

Actually, appears this happens only with specific Painless scripted fields, e.g. this one: LocalDateTime.ofInstant(Instant.ofEpochMilli(doc['@timestamp'].value), ZoneId.of('Z')).getDayOfWeek().getDisplayName(TextStyle.FULL, Locale.getDefault());) == params.value

@tbragin tbragin added Feature:Scripted Fields Scripted fields features :Management labels Nov 10, 2016
@tbragin
Copy link
Contributor Author

tbragin commented Nov 10, 2016

It appears to be a more general problem with handling filtering on scripted fields. Closing in favor of #9024

@tbragin tbragin closed this as completed Nov 10, 2016
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:Scripted Fields Scripted fields features Feature:Timelion Timelion app and visualization
Projects
None yet
Development

No branches or pull requests

1 participant