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

Timelion single-quoted function arguments don't work #93488

Closed
boutcher opened this issue Mar 3, 2021 · 1 comment
Closed

Timelion single-quoted function arguments don't work #93488

boutcher opened this issue Mar 3, 2021 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@boutcher
Copy link

boutcher commented Mar 3, 2021

It seems in newer versions of Timelion, basic queries like .es(q='field:value') break with an error:

Timelion request error: undefined SyntaxError: {"type":"incompleteFunction","function":"es","location":{"min":0,"max":3},"text":".es"}

If you remove the single-quotes, or change to double-quotes, then the query will work fine.

The documentation on https://www.elastic.co/guide/en/kibana/7.x/create-panels-with-timelion.html suggests that single quotes or double quotes should work: If the value of your parameter contains spaces or commas you have to put the value in single or double quotes. You can omit these quotes otherwise.

I was going to modify the documentation page to remove the single quotes reference, but I'm not sure if this is a bug in Timelion or a bug in the documentation, so I'll just open this issue. I can fix the documentation and submit a PR if single quotes are no longer valid.

Kibana 7.10.0

@boutcher boutcher added the bug Fixes for quality problems that affect the customer experience label Mar 3, 2021
@timroes
Copy link
Contributor

timroes commented Mar 4, 2021

Duplicate of #83297 Please just upgrade to 7.10.1 where this is fixed.

@timroes timroes closed this as completed Mar 4, 2021
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
Projects
None yet
Development

No branches or pull requests

2 participants