Kibana: การแสดงผลและแดชบอร์ด
ทำความรู้จัก Kibana สำหรับสำรวจและแสดงผลข้อมูล เรียนรู้การสร้างแดชบอร์ดและรายงานที่มีประสิทธิภาพจากดัชนี Elasticsearch
Kibana: การแสดงผลและแดชบอร์ด เป็นบทเรียน System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) ฟรีบน CoddyKit นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) มีบทเรียนทั้งหมด 4 บทเรียน
บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ
What is Kibana?
Welcome to Kibana! It's the "K" in the ELK Stack, serving as your window into the data stored in Elasticsearch. Kibana is a powerful open-source tool for data visualization and exploration.
It allows you to query, analyze, and visualize your Elasticsearch data, helping you uncover insights and monitor the health of your systems.
Navigating Kibana's Interface
When you first open Kibana, you'll see a navigation menu on the left. Key sections include:
- Discover: Explore raw data, search, and filter.
- Visualize: Create individual charts and graphs.
- Dashboard: Combine multiple visualizations into a single view.
- Management: Configure indices, users, and settings.
We'll focus on Discover, Visualize, and Dashboard.
Discovering Raw Data
The Discover section is where you interact directly with your raw data from Elasticsearch. Think of it as a powerful search engine for your logs or metrics.
- Search Bar: Use Lucene query syntax or KQL (Kibana Query Language) to find specific events.
- Filters: Add interactive filters to narrow down your results.
- Table View: See individual documents (logs) and their fields.
It's crucial for debugging and detailed investigation.
Focusing on Time Ranges
Observability data is time-series data. The time range selector in Kibana (usually top right) is vital for focusing your analysis.
- Quick Selects: "Last 15 minutes," "Last 24 hours," etc.
- Relative Time: "Last 7 days," "Yesterday."
- Absolute Time: Specify exact start and end dates/times.
Choosing the right time range ensures you're looking at relevant data for your investigation.
Introduction to Visualizations
While Discover shows raw data, Visualize transforms that data into meaningful charts and graphs. Visualizations help you quickly spot trends, anomalies, and patterns that might be hidden in tables of raw data.
Kibana supports a wide array of visualization types, from simple metrics to complex geo maps.
Building Your First Chart
Let's create a simple visualization, like a bar chart showing log counts over time. In the Visualize section:
- Choose a visualization type (e.g., Vertical Bar).
- Select your Elasticsearch index pattern.
- Define your Y-axis (e.g., "Count" aggregation).
- Define your X-axis (e.g., "Date Histogram" on your timestamp field).
This shows you how many logs occurred in each time interval.
Exploring Other Visualizations
Beyond bar charts, Kibana offers many options to represent your data effectively:
- Line Charts: Great for showing trends over time (e.g., CPU usage).
- Pie Charts: Useful for showing proportions (e.g., error rates by service).
- Data Tables: Display aggregated data in a tabular format.
- Metric Visualizations: Show a single, prominent number (e.g., total errors).
Choose the type that best tells your data's story.
Bringing It All Together: Dashboards
A Dashboard in Kibana is a collection of saved visualizations arranged on a single screen. They provide a high-level overview of your system's health, performance, or specific application metrics.
Dashboards are dynamic: applying a time filter or a global search to a dashboard updates all its visualizations simultaneously.
Constructing a Dashboard
Creating a dashboard is straightforward:
- Navigate to the Dashboard section.
- Click "Create new dashboard."
- Click "Add" and select your saved visualizations from the list.
- Arrange and resize them as needed.
You can also add new visualizations directly from the dashboard view. This allows for quick, comprehensive monitoring.
Kibana Knowledge Check
Time to test your understanding of Kibana's core functions!
Kibana: Your Data's Storyteller
In this lesson, we explored Kibana, the visualization layer of the ELK Stack. You learned to:
- Use Discover for raw data exploration.
- Create various charts in Visualize.
- Combine these into insightful Dashboards.
Kibana empowers you to transform vast amounts of data into actionable insights, making your systems more understandable and observable. Next, we'll dive into advanced ELK techniques!
เรียนรู้ System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) ด้วย AI tutor — ฟรี
เขียนและเรียกใช้โค้ดจริงในเบราว์เซอร์ของคุณ รับความช่วยเหลือทันทีจาก AI tutor 24/7 และเรียนรู้ต่อจากที่คุณหยุดบนเว็บหรือในแอป
- คอร์ส
- 12
- บทเรียน
- 48
คำถามที่พบบ่อย
บทเรียน “Kibana: การแสดงผลและแดชบอร์ด” ฟรีหรือไม่
ใช่ — ข้อความเต็มของ “Kibana: การแสดงผลและแดชบอร์ด” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) ให้อัปเกรดเป็น CoddyKit PRO คอร์ส System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) มีบทเรียนทั้งหมด 4 บทเรียน
คุณจะเรียนรู้อะไรในบทเรียน “Kibana: การแสดงผลและแดชบอร์ด”
ทำความรู้จัก Kibana สำหรับสำรวจและแสดงผลข้อมูล เรียนรู้การสร้างแดชบอร์ดและรายงานที่มีประสิทธิภาพจากดัชนี Elasticsearch คุณปฏิบัติ System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน
คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) หรือไม่
ไม่จำเป็นต้องมีประสบการณ์มาก่อน System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน
บทเรียน “Kibana: การแสดงผลและแดชบอร์ด” ใช้เวลานานแค่ไหน
บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย
ฉันเขียนและรันโค้ดในบทเรียน System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) นี้ได้ไหม
ได้ บทเรียน System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ
บทเรียนทั้งหมดในหลักสูตรนี้
- Elasticsearch: การทำดัชนีและการค้นหา
- Logstash: การรับและประมวลผลข้อมูล
- Kibana: การแสดงผลและแดชบอร์ด
- Beats: ตัวส่งข้อมูลขนาดเล็ก