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

[ML] Cannot create datafeed that uses aggs #36250

Closed
sophiec20 opened this issue Dec 5, 2018 · 1 comment · Fixed by #36261
Closed

[ML] Cannot create datafeed that uses aggs #36250

sophiec20 opened this issue Dec 5, 2018 · 1 comment · Fixed by #36261
Assignees
Labels
>bug :ml Machine learning

Comments

@sophiec20
Copy link
Contributor

Elasticsearch version (bin/elasticsearch --version):
Version: 6.6.0-SNAPSHOT, Build: default/zip/928396e/2018-11-30T11:04:13.733240Z, JVM: 9.0.4

Note: also found on master, neither are a released version

Plugins installed: n/a

JVM version (java -version):

java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

OS version (uname -a if on a Unix-like system):
Mac 17.7.0 Darwin Kernel Version 17.7.0

Description of the problem including expected versus actual behavior:
Datafeed creation fails for jobs that contain aggregations. Found for all agg jobs within in qa framework. Occurs since
#36117

[2018-12-04T19:50:29.948] [FAILED] [metricbeat-derivatives] "Derivative of Metricbeat bytes in" in method scenarioJobMetricbeat [7.0.0-3676]

Reason: An error occured during datafeed create (id 'datafeed-metricbeat-derivatives_20181204-1949_700_3676')
Error response: {"reason":"Unexpected token START_OBJECT in [aggs]: aggregations definitions must start with the name of the aggregation.","col":1,"line":1,"type":"parsing_exception","root_cause":[{"reason":"Unexpected token START_OBJECT in [aggs]: aggregations definitions must start with the name of the aggregation.","col":1,"line":1,"type":"parsing_exception"}]}

Steps to reproduce:
Take above job config from qa framework.

@sophiec20 sophiec20 added >bug :ml Machine learning labels Dec 5, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :ml Machine learning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants