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: Error: Expected: "$" @ character undefined #12944

Closed
BurkovBA opened this issue Jul 18, 2017 · 2 comments
Closed

Timelion: Error: Expected: "$" @ character undefined #12944

BurkovBA opened this issue Jul 18, 2017 · 2 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Timelion Timelion app and visualization Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@BurkovBA
Copy link

BurkovBA commented Jul 18, 2017

Describe the feature:
I have apache logs, loaded into Elasticsearch index, called access_log, via Filebeat and Logstash. I'm trying to use Timelion to show a chart with 2 metrics:

  • all user requests to my website
  • requests to the search API only

For that end I'm writing the following Timelion request:

.es(*), es(index="access_log", metric="sum:request")

However, this fails with this error message:

Timelion: Error: Expected: "$" @ character undefined             More Info OK 166s

screen shot 2017-07-18 at 14 31 45

Just .es(*) works and draws something:

screen shot 2017-07-18 at 14 34 09

Kibana version:
5.4.3
Elasticsearch version:
5.4.3
Server OS version:
RedHat 6
Browser version:
Chrome 58.0.3029.110
Browser OS version:
MacOS Sierra 10.12.5
Original install method (e.g. download page, yum, from source, etc.):
From source, run on openJDK 1.8

@cjcenizal cjcenizal added 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 Jul 18, 2017
@ppisljar
Copy link
Member

there is a syntax error in your query, you are missing a dot:

.es(*), .es(index="access_log", metric="sum:request")

@BurkovBA
Copy link
Author

@ppisljar Thank you very much, sorry for troubling you because of a basic syntax error.

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:Timelion Timelion app and visualization Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

No branches or pull requests

3 participants