# Timelion - Graphing from ML Index

**URL:** <https://discuss.elastic.co/t/timelion-graphing-from-ml-index/174539>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [March 29, 2019, 1:06pm UTC](https://discuss.elastic.co/t/timelion-graphing-from-ml-index/174539 "2019-03-29T13:06:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosruss](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cosruss](https://discuss.elastic.co/u/cosruss)\
**Post date:** [March 29, 2019, 1:06pm UTC](https://discuss.elastic.co/t/timelion-graphing-from-ml-index/174539/1 "2019-03-29T13:06:39Z")

</div>

I'm getting a Kibana error trying to use a machine-learning index in Timelion, and in Visual Builder. It doesn't seem to like the '.' at the front of the index name. Has anybody else had this problem?

Steps to duplicate:  
In Timelion, try graphing: .es(index=.ml-anomalies-shared)

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [March 29, 2019, 2:48pm UTC](https://discuss.elastic.co/t/timelion-graphing-from-ml-index/174539/2 "2019-03-29T14:48:13Z")

</div>

Here's an example:

`.es(index='.ml-anomalies-farequote', timefield='timestamp', metric='sum:event_count').label("count ML processed")`

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/1/4123255c37b5cea56c1b99e49e4532ea6e011c05.png)

---

<div class="post-metadata">

**Author:** ![cosruss](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cosruss](https://discuss.elastic.co/u/cosruss)\
**Post date:** [March 29, 2019, 2:56pm UTC](https://discuss.elastic.co/t/timelion-graphing-from-ml-index/174539/3 "2019-03-29T14:56:07Z")

</div>

Thanks, Rich. I had tried single-quoting the index before, but got no data. I forgot that the ml indexes don't use @timestamp. Once I added the timefield parameter it worked.

---

<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:** [April 26, 2019, 2:56pm UTC](https://discuss.elastic.co/t/timelion-graphing-from-ml-index/174539/4 "2019-04-26T14:56:19Z")

</div>

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