> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-install-landing-page/pdso-install-in-hadoop-cluster/pdso-maintain-landing-page/troubleshoot-data-storage-optimizer-fs/data-storage-optimizer-logging/pdso-viewing-logs-on-ambari.md).

# Viewing logs on Ambari

Depending on the version of Ambari you are using, the **Log Search** service, and other services it depends on, you might first need to installed and configure it. If the **Log Search** service was installed prior to installing Data Optimizer, restart the **Log Search** service to start indexing the logs in Data Optimizer. Without this service, Data Optimizer still logs, however, logs will not be integrated into Ambari and you should access natively.

To view logs through Ambari, use the **Log Search UI** link in the **Quick Links** drop-down menu in the **Log Search** service.

![](https://github.com/pentaho/documentation/blob/main/PDC/10.2/Data%20Optimizer/PDO%20Installing%20Data%20Optimizer%20Volumes/LDO%20Install/PDSO%20Install%20in%20Hadoop%20Cluster/PDSO%20Maintain%20\(Landing%20page\)/Troubleshoot%20Data%20Storage%20Optimizer%20FS/Data%20Storage%20Optimizer%20Logging/LDO%20logging=GUID-5CBFFDD6-D401-4D22-89C3-19A573A8B9C7=1=en=Low.png)

To isolate only Data Optimizer logs, in the **Troubleshooting**and **Service Logs** tabs, include the **ldo\_volume** as part of the component. This is the default component for Data Optimizer but can be changed in `Advanced ldo-logsearch-conf` configurations.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-install-landing-page/pdso-install-in-hadoop-cluster/pdso-maintain-landing-page/troubleshoot-data-storage-optimizer-fs/data-storage-optimizer-logging/pdso-viewing-logs-on-ambari.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
