Hi Mark,
Here is my query. The result returned is not in UTC, still in unix epoch.
Do you know why?
*Query run in Sense:*
GET _search?fields=_timestamp,_source
{
"query": { "match_all": {} }
}
*Result:*
"fields": {
"_timestamp": 1427177681930
ES stores timestamps as unix epoch under the hood, however it will
translate that to UTC when you request it.
On 25 March 2015 at 15:47, Lee Chuen Ooi wrote:
> Hi,
> I want to make use of the _timestamp field to keep track the last indexed
> datetime of an doc in ElasticSearch.
> I have set the
Hi,
I want to make use of the _timestamp field to keep track the last indexed
datetime of an doc in ElasticSearch.
I have set the mapping as below:
"mappings": {
"_default_": {
"_timestamp": {
"enabled": true,
"store": true,