# ML: no value in forecast fields in a dedicated ML index

**URL:** https://discuss.elastic.co/t/ml-no-value-in-forecast-fields-in-a-dedicated-ml-index/236105
**Category:** Kibana
**Tags:** elastic-stack-machine-learning
**Created:** [June 7, 2020, 11:58pm UTC](https://discuss.elastic.co/t/ml-no-value-in-forecast-fields-in-a-dedicated-ml-index/236105 "2020-06-07T23:58:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)
#### Post date: [June 7, 2020, 11:58pm UTC](https://discuss.elastic.co/t/ml-no-value-in-forecast-fields-in-a-dedicated-ml-index/236105/1 "2020-06-07T23:58:50Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d6a201ef2e9572b131387a2fc7c63cbd9a6f6ffe.png)

Hi Im trying to create a graph for the forecast, but the fields are empty, I try stoping the job, reloading the index, but I got no values, even though the forecast exist in ML

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dc385e7593c3a9ea458f43a63682b440297ba94a.png)

Any Ideas?

ELK 7.5.1

---

<div class="post-metadata">

### Author: ![sophie\_chang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sophie_chang/32/18008_2.png) [@sophie\_chang](https://discuss.elastic.co/u/sophie_chang)
#### Post date: [June 8, 2020, 10:23am UTC](https://discuss.elastic.co/t/ml-no-value-in-forecast-fields-in-a-dedicated-ml-index/236105/2 "2020-06-08T10:23:36Z")

</div>

Hi @ElasticLiver

If you click on the `View` option, do you see forecast data available in the plot. If "no", then there is a problem creating the forecast - and we would troubleshoot that differently. If "yes" then please read below.

To view forecast results using native Kibana:

1. Create a Kibana index pattern for `.ml-anomalies-*` with `timestamp` as the time filed (looks like you have already done this - note, you could also use an index pattern for the custom `results_index_name` if you are using one)
2. In Discover, filter on the following  
`result_type : "model_forecast" and job_id:"insert_job_id"`
3. Make sure the time range covers the date of the forecast - this might mean you need to include a time into the future in the case of forecasts on real-time data.

If you can see this in Discover, then you will also be able to create Visualizations from this for each individual `forecast_id`.

Hope this helps - or please let us know if the problem is in the initial forecast creation step.

Sophie

---

<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 6, 2020, 10:23am UTC](https://discuss.elastic.co/t/ml-no-value-in-forecast-fields-in-a-dedicated-ml-index/236105/3 "2020-07-06T10:23:49Z")

</div>

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