# Machine Learning - Lab 2 - Section 8

**URL:** <https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398>\
**Category:** Elastic Training\
**Created:** [September 21, 2017, 9:51pm UTC](https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398 "2017-09-21T21:51:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh\_jacques](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@josh\_jacques](https://discuss.elastic.co/u/josh_jacques)\
**Post date:** [September 21, 2017, 9:51pm UTC](https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398/1 "2017-09-21T21:51:03Z")

</div>

I've created a "Single Metric Job", but the "Processed records" only reported 240 records instead of the expected 86,275. I realize this is vague, but anything obvious I could be missing here. I do see 86,275 records in the index, and I did go through create a job with 30m buckets...I'm just unsure what else I could be doing wrong here. Unless I'm interpreting the data incorrectly.

Anyhow, I'd appreciate if anyone had any help in the matter.

Thanks

---

<div class="post-metadata">

**Author:** ![nzamecnik](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nzamecnik](https://discuss.elastic.co/u/nzamecnik)\
**Post date:** [September 25, 2017, 2:33pm UTC](https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398/2 "2017-09-25T14:33:18Z")

</div>

Hello,

You might want to check the job record and see if there was a processing error? It could be that the job was configured wrong as well. It's hard to tell without looking at the job and any messages related to processing them.

You might want to go through the lab again and ensure you did every step correctly. You also may want to make sure that you put the results of the job in it's own index by ticking the box in the create job screen which allows you to do that. Lastly, ensure that the job is running across the entire dataset via the time picker.

---

<div class="post-metadata">

**Author:** ![josh\_jacques](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@josh\_jacques](https://discuss.elastic.co/u/josh_jacques)\
**Post date:** [September 25, 2017, 4:07pm UTC](https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398/3 "2017-09-25T16:07:56Z")

</div>

Thanks for the reply Nathan,  
I sent you a private message along with a video of what I am experiencing and hopefully that will be more beneficial than my question/curiosity above.

---

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [September 25, 2017, 5:07pm UTC](https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398/4 "2017-09-25T17:07:51Z")

</div>

Because it uses a `summary_count_field_name`. You could learn more about that in [this page](https://www.elastic.co/guide/en/x-pack/current/ml-configuring-aggregation.html).

I think this should be an optimization for `count function` to use aggregation.

right? @nzamecnik

---

<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:** [October 25, 2017, 5:07pm UTC](https://discuss.elastic.co/t/machine-learning-lab-2-section-8/101398/5 "2017-10-25T17:07:51Z")

</div>

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