Bird
0
0

What is the primary role of Logstash in the ELK stack for centralized logging?

easy📝 Conceptual Q1 of 15
Microservices - Monitoring and Observability
What is the primary role of Logstash in the ELK stack for centralized logging?
ATo collect, parse, and transform logs before sending them to Elasticsearch
BTo store and index logs for fast search and retrieval
CTo visualize logs and create dashboards
DTo generate logs from microservices automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand ELK stack components

    Elasticsearch stores and indexes logs, Kibana visualizes them, and Logstash processes logs.
  2. Step 2: Identify Logstash's function

    Logstash collects logs from sources, parses and transforms them, then forwards to Elasticsearch.
  3. Final Answer:

    To collect, parse, and transform logs before sending them to Elasticsearch -> Option A
  4. Quick Check:

    Logstash role = Collect and transform logs [OK]
Quick Trick: Logstash processes logs before storage [OK]
Common Mistakes:
MISTAKES
  • Confusing Logstash with Elasticsearch storage
  • Thinking Kibana collects logs
  • Assuming Logstash generates logs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes