# Logs

DuploCloud Standard Observability Suite uses built-in OpenSearch for log storage and search. Filebeat is the collector deployed on each host to gather logs from containers and other system services.

Logs can be accessed at the platform level (by Administrators), at the Tenant level, or directly from a specific Service using the Logs link.

## Viewing Platform Logs

Use this option to view logs across all tenants or to troubleshoot issues at the platform level.

1. Navigate to **Administrator** → **Observability** → **Standard** → **Logging** in the DuploCloud Portal.

This page includes two tabs:

* **Main**: Shows logs using an embedded OpenSearch dashboard provided by DuploCloud. You can select a Tenant and use filters to find the logs you need.
* **Kibana**: Available if your organization has set up a custom Kibana (OpenSearch) URL. This lets you view logs with more advanced tools and features.

<figure><img src="/files/1ANNhy3cDc6kXkcex1Yq" alt=""><figcaption></figcaption></figure>

## Viewing Tenant Logs

Use this view to access logs scoped to a single tenant.

1. Navigate to **Observability** → **Standard** → **Logging**.

In this view:

* Logs are automatically filtered to show only data for the current tenant.
* At the top, use the **Service** dropdown to filter logs for a specific service.
* Alternatively, click **Search by Filters** to create custom filters for more precise log searching.

<figure><img src="/files/sOLfH91i46YlB865iOU8" alt=""><figcaption></figcaption></figure>

## Viewing Service-Specific Logs

You can quickly access logs filtered for a Specific service directly from the Service details page. This shortcut helps you troubleshoot service issues faster without manually applying filters.

To view logs for a Service:

1. Navigate to **Kubernetes** → **Services** (or the relevant service list) in the DuploCloud Portal.
2. Click the menu icon (<img src="/files/UUsk9qqQdoLBf2eKdpqW" alt="" data-size="line">) next to the Service you want to view logs for.
3. Select **Logs**. This will open a logs dashboard pre-filtered to show logs for that specific service.

## Application log retention policy

DuploCloud retains application logs in two stages: comprehensive tracking and auditing.

Initially, logs are available in OpenSearch for 60 days, ensuring immediate access for recent activity analysis.

Logs are archived in an S3 Bucket for 365 days for long-term storage, meeting compliance, and historical data review needs. You can customize retention periods to meet specific requirements, offering flexibility in log management.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/diagnostics-overview/standard-observability-suite/logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
