Logging with Loki
Get Logging insights in DuploCloud's Advanced Observability Suite (AOS)
Last updated
Get Logging insights in DuploCloud's Advanced Observability Suite (AOS)
Last updated
© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates
DuploCloud's Advanced Observability Suite (AOS) integrates Grafana Loki as the logging backend, with Grafana Alloy acting as the log collector. This setup enables real-time log visualization, filtering, and analysis through Grafana, providing a unified observability experience alongside metrics and traces.
Grafana Loki powers the logging solution by indexing enriched metadata, including Kubernetes attributes such as Tenant name, Namespace, container, and Host, which DuploCloud automatically configures for every log entry. This enriched metadata simplifies querying and allows users to easily drill down into issues or switch from logs to traces directly from the dashboard to identify problems quickly.
Logs are crucial for observability, offering detailed, time-stamped insights into system behavior. They enable you to:
Debug errors and warnings
Monitor system and application health
Investigate security and compliance issues
Track deployment and configuration changes
Identify trends or anomalies
Correlate events across logs, traces, and metrics for root cause analysis
Using the Grafana Logging dashboard, you can quickly drill down into logs to investigate issues, explore associated traces for context, and analyze metrics to optimize performance.
In the DuploCloud Portal, navigate to Administrator -> Observability -> Advanced -> Dashboard (Administrator AOS Dashboard) or Observability -> Advanced -> Dashboard (Tenant AOS Dashboard). The AOS Dashboard displays.
Select your Infrastructure from the Infrastructure list box (Administrator AOS Dashboard) or Tenant from the Tenant list box (Tenant AOS Dashboard).
Click the Logs card button. The Grafana Logging dashboard displays various widgets and views, including Live logs.
Adjust the time interval list box in the top right corner of the Grafana dashboard (Last 30 minutes in the above graphic) to display data for the period of your choice.
Refine your view by selecting a specific namespace, Pod, or stream from the Namespace, Pod, and Stream list boxes near the top of the page, or using the default values of All.
From the Grafana Logging Dashboard, there are several ways to explore logs and specific log entries in detail:
Log Entry Details: In the Logs panel, click on a log entry to display details about the event that triggered it. Log entry data displays, as shown in the following image:
Traces: From the log details pane, click the View Trace button to view traces associated with the log entry.
Explore view: Click the menu icon () in the upper right corner of the Logs pane and select Explore. Explore view displays details for your logs and allows you to run queries. See the Grafana Logging documentation for more information
Log Context: Click the context icon ( ) to open the Log context window for contextual details about the log entry.