{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats-dashboards/issues/2","labels_url":"https://api.github.com/repos/elastic/beats-dashboards/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats-dashboards/issues/2/comments","events_url":"https://api.github.com/repos/elastic/beats-dashboards/issues/2/events","html_url":"https://github.com/elastic/beats-dashboards/issues/2","id":86204552,"number":2,"title":"Zero or negative time interval not supported","user":{"login":"slimm609","id":2703141,"avatar_url":"https://avatars.githubusercontent.com/u/2703141?v=3","gravatar_id":"","url":"https://api.github.com/users/slimm609","html_url":"https://github.com/slimm609","followers_url":"https://api.github.com/users/slimm609/followers","following_url":"https://api.github.com/users/slimm609/following{/other_user}","gists_url":"https://api.github.com/users/slimm609/gists{/gist_id}","starred_url":"https://api.github.com/users/slimm609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimm609/subscriptions","organizations_url":"https://api.github.com/users/slimm609/orgs","repos_url":"https://api.github.com/users/slimm609/repos","events_url":"https://api.github.com/users/slimm609/events{/privacy}","received_events_url":"https://api.github.com/users/slimm609/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T14:43:53Z","updated_at":"2015-09-10T17:45:47Z","closed_at":null,"body":"using the dashboards 1.0.0-beta with kibana 4.0.2 and elasticsearch 1.5.2  I get these errors several times whenever any dashboard is accessed. \r\n \r\n\r\n[2015-06-08 10:39:44,766][DEBUG][action.search.type       ] [Phil Urich] All shards failed for phase: [query]\r\norg.elasticsearch.search.SearchParseException: [packetbeat-2015.06.08][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{\"size\":0,\"aggs\":{\"2\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"0ms\",\"pre_zone\":\"-04:00\",\"pre_zone_adjust_large_interval\":true,\"min_doc_count\":1,\"extended_bounds\":{\"min\":1433774084563,\"max\":1433774384563}},\"aggs\":{\"3\":{\"histogram\":{\"field\":\"responsetime\",\"interval\":10},\"aggs\":{\"1\":{\"sum\":{\"field\":\"count\"}}}}}}},\"highlight\":{\"pre_tags\":[\"@kibana-highlighted-field@\"],\"post_tags\":[\"@/kibana-highlighted-field@\"],\"fields\":{\"*\":{}}},\"query\":{\"filtered\":{\"query\":{\"match_all\":{}},\"filter\":{\"bool\":{\"must\":[{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}},{\"range\":{\"@timestamp\":{\"gte\":1433774084566,\"lte\":1433774384566}}}],\"must_not\":[]}}}}}]]\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:721)\r\n        at org.elasticsearch.search.SearchService.createContext(SearchService.java:557)\r\n        at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529)\r\n        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.elasticsearch.ElasticsearchIllegalArgumentException: Zero or negative time interval not supported\r\n        at org.elasticsearch.common.rounding.TimeZoneRounding$Builder.<init>(TimeZoneRounding.java:68)\r\n        at org.elasticsearch.common.rounding.TimeZoneRounding.builder(TimeZoneRounding.java:42)\r\n        at org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramParser.parse(DateHistogramParser.java:205)\r\n        at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:130)\r\n        at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:77)\r\n        at org.elasticsearch.search.aggregations.AggregationParseElement.parse(AggregationParseElement.java:60)\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:705)\r\n        ... 9 more\r\n\r\n\r\n\r\n\r\n[2015-06-08 10:39:44,762][DEBUG][action.search.type       ] [Phil Urich] All shards failed for phase: [query]\r\norg.elasticsearch.search.SearchParseException: [packetbeat-2015.06.08][0]: query[ConstantScore(BooleanFilter(+QueryWrapperFilter(ConstantScore(*:*)) +cache(@timestamp:[1433774084566 TO 1433774384566])))],from[-1],size[0]: Parse Failure [Failed to parse source [{\"highlight\":{\"pre_tags\":[\"@kibana-highlighted-field@\"],\"post_tags\":[\"@/kibana-highlighted-field@\"],\"fields\":{\"*\":{}}},\"query\":{\"filtered\":{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}},\"filter\":{\"bool\":{\"must\":[{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}},{\"range\":{\"@timestamp\":{\"gte\":1433774084566,\"lte\":1433774384566}}}],\"must_not\":[]}}}},\"size\":0,\"aggs\":{\"2\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"0ms\",\"pre_zone\":\"-04:00\",\"pre_zone_adjust_large_interval\":true,\"min_doc_count\":1,\"extended_bounds\":{\"min\":1433774084560,\"max\":1433774384561}},\"aggs\":{\"1\":{\"percentiles\":{\"field\":\"responsetime\",\"percents\":[75,95,99]}}}}}}]]\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:721)\r\n        at org.elasticsearch.search.SearchService.createContext(SearchService.java:557)\r\n        at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529)\r\n        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.elasticsearch.ElasticsearchIllegalArgumentException: Zero or negative time interval not supported\r\n        at org.elasticsearch.common.rounding.TimeZoneRounding$Builder.<init>(TimeZoneRounding.java:68)\r\n        at org.elasticsearch.common.rounding.TimeZoneRounding.builder(TimeZoneRounding.java:42)\r\n        at org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramParser.parse(DateHistogramParser.java:205)\r\n        at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:130)\r\n        at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:77)\r\n        at org.elasticsearch.search.aggregations.AggregationParseElement.parse(AggregationParseElement.java:60)\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:705)\r\n        ... 9 more\r\n\r\n\r\n\r\n\r\n[2015-06-08 10:39:44,764][DEBUG][action.search.type       ] [Phil Urich] All shards failed for phase: [query]\r\norg.elasticsearch.search.SearchParseException: [packetbeat-2015.06.08][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{\"size\":0,\"aggs\":{\"2\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"0ms\",\"pre_zone\":\"-04:00\",\"pre_zone_adjust_large_interval\":true,\"min_doc_count\":1,\"extended_bounds\":{\"min\":1433774084563,\"max\":1433774384563}},\"aggs\":{\"3\":{\"terms\":{\"field\":\"type\",\"size\":5,\"order\":{\"1\":\"desc\"}},\"aggs\":{\"1\":{\"sum\":{\"field\":\"count\"}}}}}}},\"highlight\":{\"pre_tags\":[\"@kibana-highlighted-field@\"],\"post_tags\":[\"@/kibana-highlighted-field@\"],\"fields\":{\"*\":{}}},\"query\":{\"filtered\":{\"query\":{\"query_string\":{\"query\":\"type: mysql or type: pgsql\",\"analyze_wildcard\":true}},\"filter\":{\"bool\":{\"must\":[{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}},{\"range\":{\"@timestamp\":{\"gte\":1433774084566,\"lte\":1433774384566}}}],\"must_not\":[]}}}}}]]\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:721)\r\n        at org.elasticsearch.search.SearchService.createContext(SearchService.java:557)\r\n        at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529)\r\n        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)\r\n        at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.elasticsearch.ElasticsearchIllegalArgumentException: Zero or negative time interval not supported\r\n        at org.elasticsearch.common.rounding.TimeZoneRounding$Builder.<init>(TimeZoneRounding.java:68)\r\n        at org.elasticsearch.common.rounding.TimeZoneRounding.builder(TimeZoneRounding.java:42)\r\n        at org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramParser.parse(DateHistogramParser.java:205)\r\n        at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:130)\r\n        at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:77)\r\n        at org.elasticsearch.search.aggregations.AggregationParseElement.parse(AggregationParseElement.java:60)\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:705)\r\n        ... 9 more"},"comment":{"url":"https://api.github.com/repos/elastic/beats-dashboards/issues/comments/139322578","html_url":"https://github.com/elastic/beats-dashboards/issues/2#issuecomment-139322578","issue_url":"https://api.github.com/repos/elastic/beats-dashboards/issues/2","id":139322578,"user":{"login":"bascht","id":51264,"avatar_url":"https://avatars.githubusercontent.com/u/51264?v=3","gravatar_id":"","url":"https://api.github.com/users/bascht","html_url":"https://github.com/bascht","followers_url":"https://api.github.com/users/bascht/followers","following_url":"https://api.github.com/users/bascht/following{/other_user}","gists_url":"https://api.github.com/users/bascht/gists{/gist_id}","starred_url":"https://api.github.com/users/bascht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bascht/subscriptions","organizations_url":"https://api.github.com/users/bascht/orgs","repos_url":"https://api.github.com/users/bascht/repos","events_url":"https://api.github.com/users/bascht/events{/privacy}","received_events_url":"https://api.github.com/users/bascht/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T17:45:47Z","updated_at":"2015-09-10T17:45:47Z","body":"@slimm609 Try selecting a proper interval for the saved searches:\r\n![screenshot-2015-09-10-194424-360x430](https://cloud.githubusercontent.com/assets/51264/9796072/75db5f3a-57f4-11e5-870c-c51c736de944.png)\r\n\r\nFixed it for me. :)\r\n"}}