# About Timelion

**URL:** <https://discuss.elastic.co/t/about-timelion/87699>\
**Category:** Kibana\
**Created:** [May 31, 2017, 9:03am UTC](https://discuss.elastic.co/t/about-timelion/87699 "2017-05-31T09:03:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreyanshu\_pare](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shreyanshu\_pare](https://discuss.elastic.co/u/shreyanshu_pare)\
**Post date:** [May 31, 2017, 9:03am UTC](https://discuss.elastic.co/t/about-timelion/87699/1 "2017-05-31T09:03:46Z")

</div>

When i write .es(index='alljson\*'), it is not reflcting,not showing any graph constant at 0. I m using Kibana-5.4.0

---

<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:** [May 31, 2017, 9:17am UTC](https://discuss.elastic.co/t/about-timelion/87699/2 "2017-05-31T09:17:37Z")

</div>

Is there data in the index? Is it time based? What is the field with the time called?

---

<div class="post-metadata">

**Author:** ![shreyanshu\_pare](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shreyanshu\_pare](https://discuss.elastic.co/u/shreyanshu_pare)\
**Post date:** [May 31, 2017, 9:20am UTC](https://discuss.elastic.co/t/about-timelion/87699/3 "2017-05-31T09:20:29Z")

</div>

yes,Data is there.  
ExchangeName:EXMO CurrencyPair:DSHBTC MachineTime:28-05-2017\_16:53:21.403850 TradeTime:28-05-2017\_16:05:00.000000 TradeId:12021032 TradeSide:buy Price:0.052 Volume:0.014 TotalBase:0.001 \_id:AVxTJhwmxL\_0zZk0O0uU \_type:docs \_index:alljson \_score:1

This type of data is there.

---

<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:** [May 31, 2017, 9:21am UTC](https://discuss.elastic.co/t/about-timelion/87699/4 "2017-05-31T09:21:35Z")

</div>

You probably need to set `timefield=MachineTime`.

---

<div class="post-metadata">

**Author:** ![shreyanshu\_pare](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shreyanshu\_pare](https://discuss.elastic.co/u/shreyanshu_pare)\
**Post date:** [May 31, 2017, 9:24am UTC](https://discuss.elastic.co/t/about-timelion/87699/6 "2017-05-31T09:24:13Z")

</div>

Expression = .es(index=alljson,timefield= MachineTime)  
Error is showing  
Timelion: SyntaxError: {"type":"incompleteFunction","function":"es","location":{"min":1,"max":4},"text":".es"}

---

<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:** [May 31, 2017, 9:26am UTC](https://discuss.elastic.co/t/about-timelion/87699/7 "2017-05-31T09:26:56Z")

</div>

You need to remove that space, that was a copy-paste mistake.

---

<div class="post-metadata">

**Author:** ![shreyanshu\_pare](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shreyanshu\_pare](https://discuss.elastic.co/u/shreyanshu_pare)\
**Post date:** [May 31, 2017, 9:29am UTC](https://discuss.elastic.co/t/about-timelion/87699/8 "2017-05-31T09:29:46Z")

</div>

ERROR:-

Fielddata is disabled on text fields by default. Set fielddata=true on [MachineTime] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

This Error is coming i think my machine time is in string format or some otherError? Please Suggest me.  
What things i have to change in my data?

---

<div class="post-metadata">

**Author:** ![shreyanshu\_pare](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shreyanshu\_pare](https://discuss.elastic.co/u/shreyanshu_pare)\
**Post date:** [May 31, 2017, 9:48am UTC](https://discuss.elastic.co/t/about-timelion/87699/9 "2017-05-31T09:48:53Z")

</div>

When i upload the data in Elasticsearch, at that time i have to mention there  
("fielddata": true),  
is it correct ?Please Suggest me,  
Thanks

---

<div class="post-metadata">

**Author:** ![shreyanshu\_pare](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shreyanshu\_pare](https://discuss.elastic.co/u/shreyanshu_pare)\
**Post date:** [June 1, 2017, 7:35am UTC](https://discuss.elastic.co/t/about-timelion/87699/10 "2017-06-01T07:35:44Z")

</div>

This Problem is solved i changes my MachineTime based on @ timefield Schema.

from that side  
[http://momentjs.com/docs/#/displaying/format/](http://momentjs.com/docs/#/displaying/format/)

---

<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:** [June 29, 2017, 7:35am UTC](https://discuss.elastic.co/t/about-timelion/87699/11 "2017-06-29T07:35:45Z")

</div>

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