No fields available in "Field" selection menu for Single Metric Job

Hi,

I am trying to go though the Single Metric Job video on this link (https://www.elastic.co/videos/machine-learning-tutorial-creating-a-single-metric-job). Before that, I set up everything from given git page. (https://github.com/elastic/examples/tree/master/Machine%20Learning/Getting%20started%20examples/server-metrics).

Query :

When I go to Machine Learning tab in Kibana and try to create a single metric job and select the index "server-*" (given in git page). After that, in 3 fields (Aggregation, Field, Bucket Span), I do not get any option available in the "Field" box. (In video, "Total" has been selected as a Field).

I am not sure what is the problem and need to resolve this as soon as possible to proceed ahead in my project.

P.S. : On the git page, it is written on 4th point as after running the command (curl -XGET localhost:9200/server-*/_count -d '{"query": {"match_all": {}}}' -u elastic:changeme), count should be more than 905940, which I get as 0.

Hi,

You are getting the error likely because the ingest step is failing. As you mentioned in the p.s. you are getting a count of 0 -- which means that there is no data in the server-* index.

Were Elasticsearch & Kibana up and running when you ran the ingest script? When you run sh ingest-data.sh, what do to you see ? You should see a pretty verbose output.

Asawari

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.