Bird
Raised Fist0

Which Elasticsearch API call starts the anomaly detection process by feeding data to the job?

easy📝 Syntax Q12 of Q15
Elasticsearch - ELK Stack Integration
Which Elasticsearch API call starts the anomaly detection process by feeding data to the job?
APOST _ml/anomaly_detectors/<job_id>/_start_datafeed
BGET _ml/anomaly_detectors/<job_id>/results
CPUT _ml/anomaly_detectors/<job_id>
DDELETE _ml/anomaly_detectors/<job_id>
Step-by-Step Solution
Solution:
  1. Step 1: Identify datafeed start API

    The API to start feeding data to an anomaly detection job is POST _ml/anomaly_detectors/<job_id>/_start_datafeed.
  2. Step 2: Eliminate other options

    GET retrieves results, PUT creates or updates jobs, DELETE removes jobs.
  3. Final Answer:

    POST _ml/anomaly_detectors/<job_id>/_start_datafeed -> Option A
  4. Quick Check:

    Start datafeed = POST _start_datafeed [OK]
Quick Trick: Start datafeed uses POST with _start_datafeed endpoint [OK]
Common Mistakes:
MISTAKES
  • Using GET instead of POST to start datafeed
  • Confusing job creation with starting datafeed
  • Deleting job instead of starting datafeed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes