I have a search like this

{
    size:         0,
    query:        {
        match_all: {}
    },
    aggregations: {

        min_date: {min: {field: 'time_stamp', format: 'date_time'}},
        max_date: {max: {field: 'time_stamp', format: "yyyy-MM-dd HH:mm"}}

    }
}

This fails with a parse error. I can only seem to run this query without a
format and I get a unix timestamp. What can I do to get the timestamp
formatted properly.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAGuHJrN8ZFNF4aN-qSUawR0m26r3q%2BvLdSAAaYCdeZepzfnTGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to