# Predict line in Kibana

**URL:** <https://discuss.elastic.co/t/predict-line-in-kibana/39945>\
**Category:** Kibana\
**Created:** [January 23, 2016, 10:15am UTC](https://discuss.elastic.co/t/predict-line-in-kibana/39945 "2016-01-23T10:15:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pittoch](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@pittoch](https://discuss.elastic.co/u/pittoch)\
**Post date:** [January 23, 2016, 10:15am UTC](https://discuss.elastic.co/t/predict-line-in-kibana/39945/1 "2016-01-23T10:15:24Z")

</div>

Hi,

I feel that it is possible to predict a curve  
In the preview video below to 38minutes and 12s , the video shows the prediction curve using " predict "  
[https://www.elastic.co/webinars/elasticsearch-2-0-overview?baymax=rtp\_ES2.0webinar&elektra=docs&iesrc=ctr](https://www.elastic.co/webinars/elasticsearch-2-0-overview?baymax=rtp_ES2.0webinar&elektra=docs&iesrc=ctr)

The technique seems to be movavg aggregation :  
[https://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-aggregations-pipeline-movavg-aggregation.html#\_prediction](https://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-aggregations-pipeline-movavg-aggregation.html#_prediction)

But my problem is that I do not understand how to follow this example.  
In Kibana, I do not understand where I have to slide out the conf  
{  
" the\_movavg ": {  
" moving\_avg ": {  
" buckets\_path ": " the\_sum "  
"window" : 30,  
"model" : "simple" ,  
" predict " : 10  
}  
}  
}

in the interface; Is json input in advanced ( in a graph under Visualize ) ?  
I tried but it does not.

Does someone have an idea ?

My graph : [http://oi63.tinypic.com/adc6t0.jpg](http://oi63.tinypic.com/adc6t0.jpg)

This fuction seems available since ElasticSearch 2.0.0-beta1.  
I have elasticsearch-2.1.1

thank you !

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 24, 2016, 4:03am UTC](https://discuss.elastic.co/t/predict-line-in-kibana/39945/2 "2016-01-24T04:03:46Z")

</div>

Pipeline aggs aren't yet supported in KB, it's something we are working on - [https://github.com/elastic/kibana/issues/4584](https://github.com/elastic/kibana/issues/4584)

---

<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, 2017, 2:04pm UTC](https://discuss.elastic.co/t/predict-line-in-kibana/39945/3 "2017-07-06T14:04:21Z")

</div>


