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

**URL:** <https://discuss.elastic.co/t/no-fields-available-in-field-selection-menu-for-single-metric-job/88853>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [June 9, 2017, 2:33pm UTC](https://discuss.elastic.co/t/no-fields-available-in-field-selection-menu-for-single-metric-job/88853 "2017-06-09T14:33:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nisarg7](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@nisarg7](https://discuss.elastic.co/u/nisarg7)\
**Post date:** [June 9, 2017, 2:33pm UTC](https://discuss.elastic.co/t/no-fields-available-in-field-selection-menu-for-single-metric-job/88853/1 "2017-06-09T14:33:57Z")

</div>

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](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](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.

---

<div class="post-metadata">

**Author:** ![asawari](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asawari](https://discuss.elastic.co/u/asawari)\
**Post date:** [June 9, 2017, 6:01pm UTC](https://discuss.elastic.co/t/no-fields-available-in-field-selection-menu-for-single-metric-job/88853/2 "2017-06-09T18:01:52Z")

</div>

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](http://ingest-data.sh), what do to you see ? You should see a pretty verbose output.

Asawari

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 7, 2017, 6:02pm UTC](https://discuss.elastic.co/t/no-fields-available-in-field-selection-menu-for-single-metric-job/88853/3 "2017-07-07T18:02:04Z")

</div>

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