Repository navigation
Deprecation Logs: [interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future. #45885
Description
Activity
- addedTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//
on Sep 18, 2019 Pinging @elastic/kibana-app
It is kind of bug or something else, can anyone please update on this tickets it already 16 day old...
Thanks in advance
7.4.0: Just looking at http://kibana:5601/app/monitoring#/elasticsearch produces five log messages each time the graph refreshes. I'd say it's a bug.
es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:42,983Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:42,983Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:42,983Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:42,984Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:42,985Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:43,022Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:43,023Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:43,034Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:43,050Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_coord_01.1.qdqhii55r7pojqajdf53hkwqo {"type": "deprecation", "timestamp": "2019-10-09T11:14:43,068Z", "level": "WARN", "component": "o.e.d.s.a.b.h.DateHistogramAggregationBuilder", "cluster.name": "<name>", "node.name": "coord_01", "message": "[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.", "cluster.uuid": "sZ3YnVG3TZu3FZ9QyPHrwA", "node.id": "DtE_Qm8zS3SabUcqHThW5w" } es_kibana.1.iu8by5d39pwkipgwipexx8671 {"type":"response","@timestamp":"2019-10-09T11:14:42Z","tags":[],"pid":7,"method":"post","statusCode":200,"req":{"url":"/api/monitoring/v1/clusters/sZ3YnVG3TZu3FZ9QyPHrwA/elasticsearch","method":"post","headers":{"host":"<kibana>:5601","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0","accept":"application/json, text/plain, */*","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","content-type":"application/json;charset=utf-8","kbn-version":"7.4.0","content-length":"81","referer":"http://<kibana>:5601/app/monitoring"},"remoteAddress":"<docker_ip>","userAgent":"<docker_ip>","referer":"http://<kibana>:5601/app/monitoring"},"res":{"statusCode":200,"responseTime":192,"contentLength":9},"message":"POST /api/monitoring/v1/clusters/sZ3YnVG3TZu3FZ9QyPHrwA/elasticsearch 200 192ms - 9.0B"} es_kibana.1.iu8by5d39pwkipgwipexx8671 {"type":"response","@timestamp":"2019-10-09T11:14:42Z","tags":[],"pid":7,"method":"post","statusCode":200,"req":{"url":"/api/monitoring/v1/clusters/sZ3YnVG3TZu3FZ9QyPHrwA/elasticsearch","method":"post","headers":{"host":"<kibana>:5601","content-length":"81","accept":"application/json, text/plain, */*","origin":"http://<kibana>:5601","kbn-version":"7.4.0","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36","content-type":"application/json;charset=UTF-8","referer":"http://<kibana>:5601/app/monitoring","accept-encoding":"gzip, deflate","accept-language":"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7"},"remoteAddress":"<docker_ip>","userAgent":"<docker_ip>","referer":"http://<kibana>:5601/app/monitoring"},"res":{"statusCode":200,"responseTime":209,"contentLength":9},"message":"POST /api/monitoring/v1/clusters/sZ3YnVG3TZu3FZ9QyPHrwA/elasticsearch 200 209ms - 9.0B"}Closing this, since TSVB will use the non deprecated fixed_interval and calendar_interval from 7.4: #39665
Using
intervalwill also just throw an deprecation warning, there is no negative effect of using the oldintervalparameter.Given the warning in monitoring, @chrisronline it seems there are still some places left using
intervalin 7.4.0 according to @wonderfulcoala comment. Could you perhaps check if some where missed in #37023This PR should cover the rest @wonderfulcoala
Kibana version:
7.3.1
Elasticsearch version:
7.3.1
Describe the bug:
Deprecation Logs constantly raised on any activity performed on Visualizations/Dashboards with Date Histogram.
[interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.
Note: In Kibana GUI only *interval field is present and not the fixed_interval or calender_interval
Duplicate issue in 7.2.0 -> 43043
Expected behavior:
No deprecation warnings should be raised.
Screenshots (if relevant):

Only Interval field present in Kibana 7.3.1 GUI