Bird
0
0

If Elasticsearch is not running, what will be the result of the Logstash output configuration:

medium📝 Analysis Q5 of 15
Microservices - Monitoring and Observability
If Elasticsearch is not running, what will be the result of the Logstash output configuration:
output { elasticsearch { hosts => ["localhost:9200"] } }
ALogs will be discarded silently
BLogstash will fail to start and show connection errors
CLogstash will buffer logs and retry sending to Elasticsearch
DLogs will be sent to Kibana instead
Step-by-Step Solution
Solution:
  1. Step 1: Understand Logstash behavior on output failure

    Logstash buffers logs and retries if Elasticsearch is unreachable.
  2. Step 2: Check options

    Logstash will buffer logs and retry sending to Elasticsearch correctly describes buffering and retrying behavior.
  3. Final Answer:

    Logstash will buffer logs and retry sending to Elasticsearch -> Option C
  4. Quick Check:

    Logstash retries on Elasticsearch failure = Logstash will buffer logs and retry sending to Elasticsearch [OK]
Quick Trick: Logstash buffers logs if Elasticsearch is down [OK]
Common Mistakes:
MISTAKES
  • Assuming Logstash fails to start
  • Thinking logs are discarded silently
  • Confusing Kibana as log receiver

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes