0Pricing
System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) · 课时

Kibana Discover 与 Lens

通过 Discover 深入探索数据,以及通过 Lens 进行直观的拖放式可视化,充分发挥 Kibana 的高级功能。

Kibana Discover 与 Lens 是 CoddyKit 上的免费 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课时。 这是第 3 节课,共 4 节。 你可以在下方免费阅读本课时的完整内容 — 然后在浏览器中使用内置代码编辑器和全天候 AI 导师进行实践。 这是 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 学习路径的一部分,你的进度在网页和 CoddyKit 应用中同步。 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课程共包含 4 节课。

本课时的部分内容尚未翻译,以英文显示。

Deeper Data Insights with Kibana

Welcome to an advanced exploration of Kibana! Beyond basic dashboards, Kibana offers powerful features to truly dissect your data and uncover hidden patterns.

In this lesson, we'll dive into Discover for raw data exploration and Lens for intuitive, drag-and-drop visualizations, empowering you with deeper analytical capabilities.

Discover: Raw Data Exploration

Kibana's Discover interface is your window into the raw, unaggregated data stored in Elasticsearch. It's essential for debugging, incident response, and understanding individual events.

Instead of just seeing charts, Discover lets you inspect every document, apply complex filters, and analyze specific time ranges, providing the granular detail you need.

Mastering Kibana Query Language (KQL)

For advanced data exploration in Discover, you'll master the Kibana Query Language (KQL). KQL is more intuitive and powerful than basic text searches, allowing precise queries across your data.

You can combine field-specific searches with logical operators (AND, OR, NOT) and wildcards to pinpoint exactly what you're looking for.

  • response_code:200 AND NOT user_agent:bot*
  • error.message:"timeout" OR status:500
  • client_ip:(192.168.1.1 OR 10.0.0.5)

Persistent Searches & Filters

Once you've crafted a complex KQL query or applied a set of filters to isolate specific data, you don't have to start over every time. Discover allows you to save your searches.

Saved searches retain your query, filters, and even the selected columns. This is incredibly useful for frequently revisited investigations or for sharing specific data views with teammates.

Uncovering Field Insights

In Discover, the left sidebar provides valuable field statistics. Clicking on any field reveals its top values, unique count, and a distribution chart.

This feature helps you quickly understand the cardinality of a field, identify common values, and spot anomalies without building a full visualization. It's perfect for quick data profiling and validation.

Introducing Kibana Lens: Intuitive Visuals

While Discover helps you explore raw data, Kibana Lens is a modern, drag-and-drop interface designed for rapid and intuitive visualization creation. It simplifies the process of turning data into insights.

Lens automatically suggests chart types based on the fields you select, making it much faster to build complex, interactive charts compared to traditional visualization editors.

Crafting Charts with Lens

Building a visualization in Lens is incredibly straightforward. You simply drag fields from your index pattern onto the canvas. Lens does the heavy lifting, suggesting appropriate chart types and aggregations.

For example, dragging a numeric field (like bytes) to the Y-axis and a categorical field (like client_ip) to the X-axis might automatically create a bar chart showing total bytes per client IP.

Advanced Aggregations in Lens

Lens isn't just for simple charts; it handles advanced aggregations with ease. You can easily switch between metrics like sum, average, unique count, and percentiles.

It also allows you to break down data by multiple dimensions, create stacked charts, and apply advanced functions, providing a powerful yet accessible way to summarize complex datasets visually.

Discover vs. Lens: When to Use Which

Understanding when to use Discover versus Lens is key to effective analysis:

  • Discover: Use for deep-dive investigation into raw events, debugging, ad-hoc queries, and understanding individual document details. It's your forensic tool.
  • Lens: Use for quickly building interactive visualizations, summarizing data trends, comparing metrics, and creating dashboard components. It's your visual storytelling tool.

Test Your Kibana Skills

Which of the following statements accurately describe the advanced capabilities of Kibana's Discover and Lens tools?

Recap: Deeper Kibana Exploration

You've now explored advanced features within Kibana's Discover and Lens!

  • Discover empowers you with granular raw data inspection, powerful KQL, saved searches, and field statistics.
  • Lens provides a modern, intuitive drag-and-drop experience for rapidly building diverse and insightful visualizations.

By mastering these tools, you can move beyond basic monitoring to conduct deeper investigations and create more compelling visual summaries of your data.

常见问题解答

「Kibana Discover 与 Lens」课时是免费的吗?

是的 — 「Kibana Discover 与 Lens」的完整文本可在网页上免费阅读。要进行交互式练习(内置代码编辑器和全天候 AI 导师)并解锁 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课程的其余内容,请升级到 CoddyKit PRO。 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课程共包含 4 节课。

「Kibana Discover 与 Lens」这节课中我会学到什么?

通过 Discover 深入探索数据,以及通过 Lens 进行直观的拖放式可视化,充分发挥 Kibana 的高级功能。 你通过在浏览器中直接运行的动手代码来练习 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry),全天候 AI 导师会在你学习这节课的过程中回答你的问题。

学习 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 需要有经验吗?

无需任何先前经验。CoddyKit 上的 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课程适合初学者到高级学习者,你可以从这里开始或从头开始,按照自己的节奏学习。 这是第 3 节课,共 4 节。

「Kibana Discover 与 Lens」课时需要多长时间?

大多数 CoddyKit 课程大约需要 5–10 分钟。每节课都很精短且互动,所以你能稳步进步,并在网页和应用中从离开的地方继续。

我能在这节 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课中编写并运行代码吗?

能。每节 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 课都包含内置代码编辑器,你可以在浏览器中直接编写并运行真实代码,并获得即时 AI 反馈 — 无需本地设置。

此课程中的所有课时

  1. Elasticsearch 查询语言(DSL)
  2. Logstash 过滤器与管道
  3. Kibana Discover 与 Lens
  4. 索引生命周期管理(ILM)
← 返回 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)