Hi all, I've imported data from mysql into elasticsearch that has a date field with unixtime format(such as: 1514851200). I want to group by date with this field.
i had using query:
"histogram": {
"field": "sentdate",
"interval": 86400,
}
But it not correct, Please help me. Thanks a lot!
What is your mapping?
Hi David Pilato,
I'm using default mapping
Use a date data type instead.
Thanks David so much