Last active
June 13, 2017 03:46
-
-
Save TomonoriSoejima/37b5c0a2a71003966fa6b096ab52a8ab to your computer and use it in GitHub Desktop.
ML apis for troubleshooting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace <alias_test> with your own <alias name> | |
GET _alias/alias_test | |
# replace <job1> with your own <job id> | |
# The get jobs API enables you to retrieve configuration information for jobs. | |
GET _xpack/ml/anomaly_detectors/job1 | |
# The get jobs API enables you to retrieve usage information for jobs. | |
GET /_xpack/ml/anomaly_detectors/job1/_stats | |
# The get records API enables you to retrieve anomaly records for a job. | |
# https://www.elastic.co/guide/en/x-pack/current/ml-get-record.html | |
GET _xpack/ml/anomaly_detectors/job1/results/records | |
# The get datafeeds API enables you to retrieve configuration information for datafeeds | |
# https://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed.html | |
GET _xpack/ml/datafeeds/ | |
# replace <datafeed-test1> with your own <datafeed id> | |
GET _xpack/ml/datafeeds/datafeed-test1 | |
GET _xpack/ml/datafeeds/datafeed-test1/_stats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment