Welcome to this guide on creating insightful dashboards in Kibana using KQL (Kibana Query Language). In this article, we’ll walk you through filtering logs, creating visualizations, and combining these elements into an effective dashboard. We also compare KQL with the Lens method, enabling you to identify patterns in your logs quickly.Documentation Index
Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
Use this file to discover all available pages before exploring further.
Creating a Dashboard for “Page 3” Activity
Begin by filtering logs to analyze users viewing page 3. In the Kibana UI, where your logs are listed, enter the query"page 3" in the search bar. Using double quotes searches for the exact phrase, ensuring only relevant entries are displayed.



Analyzing Out-of-Stock Trends
Switch to Kibana’s Discover section (ensuring you are in Discover mode) and search for “out-of-stock” to analyze product availability. The search automatically applies a visualization filter (using a lens button) to display out-of-stock trends.
Monitoring Failed Login Attempts
Return to Discover mode to monitor failed login attempts. Apply a filter for failed attempts by clicking the corresponding button, which takes you to a tabular dashboard view. Change the visualization type to a table format to display the number of failed logins per timestamp. Once the table view is configured, the dashboard will display the total count of failed login records. Save this visualization as “failed attempt” and add it to your dashboard. You can reposition the panel for better visibility.
If you are analyzing data for a shorter period (e.g., 20-30 minutes), the counts might be lower. In this lab, the analysis spans over 60 minutes, which explains the higher numbers.

Concluding Thoughts
These dashboards provide valuable insights into user behavior and system performance, making it easier to communicate findings to both product managers and engineering teams. For example:- A significant number of out-of-stock events can trigger inventory management actions.
- Frequent views on page 3 (such as in a groceries application) could indicate a need for scaling associated systems.
- Numerous failed login attempts may signal potential backend load issues that require further investigation.