Re: aggreation values with date time

2014-03-24 Thread Binh Ly
Unfortunately, this is not supported at the moment. The value that you get back is the milliseconds since epoch (1/1/1970) so that's how you can convert it back yourself if needed. -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe

Re: aggreation values with date time

2014-03-22 Thread Subhadip Bagui
Hi, Pls suggest... -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit

aggreation values with date time

2014-03-21 Thread Subhadip Bagui
Hi, I'm using the below aggs for getting max, avg values from 2 data fields. But the result is coming in unix timeformat I guess. Can I get the result normal time format, query== aggs : { max_time : { max : { script : doc['gi_xdr_info_end_time'].value -