From 00203c35fe15ea5d9b4b42cc503973a3aff08943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Thu, 19 Mar 2020 15:40:53 +0100 Subject: [PATCH] [DOCS] Changes seconds to milliseconds since the Epoch in AD docs. (#53797) --- docs/reference/ml/anomaly-detection/apis/flush-job.asciidoc | 2 +- .../reference/ml/anomaly-detection/apis/start-datafeed.asciidoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ml/anomaly-detection/apis/flush-job.asciidoc b/docs/reference/ml/anomaly-detection/apis/flush-job.asciidoc index 686d911fcfe..2534f58f7e6 100644 --- a/docs/reference/ml/anomaly-detection/apis/flush-job.asciidoc +++ b/docs/reference/ml/anomaly-detection/apis/flush-job.asciidoc @@ -98,7 +98,7 @@ on January 1, 2018: -------------------------------------------------- POST _ml/anomaly_detectors/total-requests/_flush { - "advance_time": "1514804400" + "advance_time": "1514804400000" } -------------------------------------------------- // TEST[skip:setup:server_metrics_openjob] diff --git a/docs/reference/ml/anomaly-detection/apis/start-datafeed.asciidoc b/docs/reference/ml/anomaly-detection/apis/start-datafeed.asciidoc index ccca38ec9f3..878e645eac5 100644 --- a/docs/reference/ml/anomaly-detection/apis/start-datafeed.asciidoc +++ b/docs/reference/ml/anomaly-detection/apis/start-datafeed.asciidoc @@ -49,7 +49,7 @@ following formats: + - ISO 8601 format with milliseconds, for example `2017-01-22T06:00:00.000Z` - ISO 8601 format without milliseconds, for example `2017-01-22T06:00:00+00:00` -- Seconds from the Epoch, for example `1390370400` +- Milliseconds from the Epoch, for example `1485061200000` Date-time arguments using either of the ISO 8601 formats must have a time zone designator, where Z is accepted as an abbreviation for UTC time.