Daylight savings and the date_histogram in kibana 4 -


i trying create graph containing date histogram. working except when crossing daylight savings period. check table below example, notice problem line of october 31st. know way overcome problem , buckets beginning on each first of month. inputs dates without time, every record time midnight.

april 1st 2013, 00:00:00.000    11499 may 1st 2013, 00:00:00.000  11850 june 1st 2013, 00:00:00.000 15992 july 1st 2013, 00:00:00.000 14215 august 1st 2013, 00:00:00.000   14178 september 1st 2013, 00:00:00.000    12739 october 1st 2013, 00:00:00.000  14133 october 31st 2013, 23:00:00.000 13653 november 30th 2013, 23:00:00.000    12537 december 31st 2013, 23:00:00.000    14040 

just make things better debug, executed query:

{   "size": 0,   "query": {     "query_string": {       "query": "*",       "analyze_wildcard": true     }   },   "aggs": {     "2": {       "date_histogram": {         "field": "ordercreationdate",         "interval": "1m",         "pre_zone": "+02:00",         "pre_zone_adjust_large_interval": true,         "min_doc_count": 1       }     }   } } 


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -