Bird
Raised Fist0

You want to create an alert in Elasticsearch to notify when CPU usage exceeds 80% for 5 minutes. Which approach is best?

hard📝 Workflow Q8 of Q15
Elasticsearch - ELK Stack Integration
You want to create an alert in Elasticsearch to notify when CPU usage exceeds 80% for 5 minutes. Which approach is best?
AUse Watcher to create a threshold alert on CPU usage metric
BRun a manual query every 5 minutes to check CPU usage
CUse Kibana dashboard filters to highlight high CPU usage
DConfigure Beats to stop sending data when CPU is high
Step-by-Step Solution
Solution:
  1. Step 1: Identify alerting tools in Elastic Stack

    Watcher is the built-in alerting feature to automate notifications based on conditions.
  2. Step 2: Match alert requirement to tool

    Watcher can monitor CPU usage metrics and trigger alerts when threshold is exceeded for a duration.
  3. Final Answer:

    Use Watcher to create a threshold alert on CPU usage metric -> Option A
  4. Quick Check:

    Automated alerting = Watcher [OK]
Quick Trick: Use Watcher for automated threshold alerts [OK]
Common Mistakes:
MISTAKES
  • Relying on manual queries for alerts
  • Using dashboards only for visualization
  • Misconfiguring Beats to stop data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes