# Different count on different timefields

**URL:** <https://discuss.elastic.co/t/different-count-on-different-timefields/96048>\
**Category:** Elasticsearch\
**Created:** [August 7, 2017, 6:20am UTC](https://discuss.elastic.co/t/different-count-on-different-timefields/96048 "2017-08-07T06:20:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sLuvpreet33](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sluvpreet33/32/50626_2.png) [@sLuvpreet33](https://discuss.elastic.co/u/sLuvpreet33)\
**Post date:** [August 7, 2017, 6:20am UTC](https://discuss.elastic.co/t/different-count-on-different-timefields/96048/1 "2017-08-07T06:20:34Z")

</div>

I have data about bookings. The data has been pulled from different tables from postgresql. And I have pushed them all under the same index and type.

Now I have 6 timefields in a document.

- booking\_time
- booking\_update\_time
- booking\_end\_time
- booking\_rating\_time
- user\_date\_joined
- user\_last\_activity

Here is the plotting of the following timelion expression,

```
.es(index='vogo-database-3', timefield='user_date_joined'), .es(index='vogo-database-3', timefield='booking_time')

```

[![enter image description here](https://i.stack.imgur.com/o9wCv.jpg)](https://i.stack.imgur.com/o9wCv.jpg)

The plotting is different when using different timefield.

My question is why is this happening ?

Every document is having a booking\_time and user\_date\_joined. The booking\_time is never the same for 2 bookings, but user\_date\_joined can be repeated if same user makes booking over and over again. But Then again, shouldn't the plotting be the same if every document has both fields ? IF no , why no then?

---

<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:** [September 4, 2017, 6:20am UTC](https://discuss.elastic.co/t/different-count-on-different-timefields/96048/2 "2017-09-04T06:20:57Z")

</div>

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