Skip to main content

Query the logs

Once saved inside the dedicated storage, logs collected by the logging stack can be retrieved to be visualized and queried with a UI.

For OpenSearch-based logging, SD provides OpenSearch Dashboards for visualization, search and query capabilities for both real-time and historical logs with DQL.

On the other hand, with Loki-based logging you can use the same tooling that is used to visualize and query metrics: Grafana. With Grafana you can create custom dashboards to show both metrics and logs (and also traces, if you install the Tracing module) of a component on the same page, using both in real-time and historical data with the Explore option and LogQL.