opensearch-project / opensearch-cli

A full-featured command line interface (CLI) for OpenSearch.
https://opensearch.org/docs/latest/clients/cli/
Apache License 2.0
44 stars 24 forks source link

Fix anomaly detection tests #54

Closed mikelorant closed 2 years ago

mikelorant commented 2 years ago

Description

Fix anomaly detection tests.

Issues Resolved

The anomaly detection tests referenced a TimeField. This was set to the index field utc_time which did not exist and needed to be added via a mappings file (otherwise it was being read as a text field). The mappings file was not in testdata and had to be created.

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.