Feature Introduction
The log search feature provides the ability to collect and search running logs of components, supporting keyword search for core service logs and node system logs of the current cluster, allowing quick access to key service logs directly from the console.
Directions
1. Log in to the EMR Console and click the corresponding Cluster ID/Name in the EMR on TKE cluster list to enter the cluster details page. 2. On the cluster details page, go to Cluster Information > Service Architecture > Service Name or select Service Management > Service Name, and then click Logs. You can filter by PodName and time range based on the current service to view the log content.Alternatively, on the cluster details page, go to Basic Configuration > Service Architecture, select Service Name > Logs, and choose PodName and Time Range to perform log searches.
Click PodName to navigate to the corresponding node status page. Click Log Source to navigate to the corresponding node monitoring metrics page.
2.1 Keyword Instruction: Supports full-text keyword search.
2.2 Supports special characters - . * > < = ! () {} / for search.
2.3 Supports phrase search, such as address=/ip:port.
3. When troubleshooting, you should often focus on the context around keywords in the logs. On the log search page, click View Context to enter the log context page, where you can select a time to view the log context within the specified time range.
Was this page helpful?