DevOps

Logging & ELK Stack

Elasticsearch, Logstash, Kibana, Beats, log aggregation, search, dashboards, troubleshooting log ingestion

20 câu hỏi phỏng vấn·
Mid-Level
1

What is Elasticsearch in the ELK Stack?

Câu trả lời

Elasticsearch is a distributed search and analytics engine based on Apache Lucene. It stores logs as indexed JSON documents, enabling fast and complex real-time searches. Elasticsearch uses inverted indexes to optimize full-text queries, making it ideal for analyzing millions of log lines. It is at the core of the ELK Stack and serves as the primary database for all collected data.

2

What is the primary role of Logstash in the ELK Stack?

Câu trả lời

Logstash is a data processing pipeline that ingests, transforms, and enriches logs before indexing them in Elasticsearch. It uses an input-filter-output architecture to parse raw logs, extract structured fields with Grok patterns, and add metadata. Logstash enables normalization of heterogeneous log formats from multiple sources, facilitating their subsequent analysis in Kibana.

3

What is the primary function of Kibana?

Câu trả lời

Kibana is the visualization and data exploration interface for data stored in Elasticsearch. It enables the creation of interactive dashboards, custom charts, and ad-hoc searches on logs. Kibana also offers advanced features like Machine Learning for anomaly detection, and Timelion for time-series analysis, making log analysis accessible without complex queries.

4

What are Beats in the ELK ecosystem?

5

What is the main difference between Filebeat and Logstash?

+17 câu hỏi phỏng vấn

Các chủ đề phỏng vấn DevOps khác

Nắm vững DevOps cho lần phỏng vấn tiếp theo

Truy cập tất cả câu hỏi, flashcards, bài kiểm tra kỹ thuật, bài tập code review và mô phỏng phỏng vấn.

Bắt đầu miễn phí