# Compare through epoch\_millis

**URL:** <https://discuss.elastic.co/t/compare-through-epoch-millis/87551>\
**Category:** Elasticsearch\
**Created:** [May 30, 2017, 10:35am UTC](https://discuss.elastic.co/t/compare-through-epoch-millis/87551 "2017-05-30T10:35:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giuseppe\_Merlo](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@Giuseppe\_Merlo](https://discuss.elastic.co/u/Giuseppe_Merlo)\
**Post date:** [May 30, 2017, 10:35am UTC](https://discuss.elastic.co/t/compare-through-epoch-millis/87551/1 "2017-05-30T10:35:26Z")

</div>

Hi forum.

I have to compare my data by time field, that i define in mapping as:

```
{
        "properties": {
            "time": {
                "index": "not_analyzed",
                "type": "date",
		"format": "epoch_millis"
            },
	    "APIName": {
		"index": "not_analyzed",
		"type": "string"
	    },
	    "user": {
		"index" : "not_analyzed",
		"type": "string"
	   }
    }
}

```

I use Kibi for visualization and the time value is presented as:

```
time:May 30th 2017, 12:24:34.345

```

but i can't create a filter to aggregate all data with time 30th May, for example.

Can anyone help me? Thanks a lot!

---

<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 27, 2017, 10:35am UTC](https://discuss.elastic.co/t/compare-through-epoch-millis/87551/2 "2017-06-27T10:35:56Z")

</div>

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