Viewing Apache Spark™ cluster logs
Written by
Updated at November 24, 2025
Yandex Managed Service for Apache Spark™ allows you to get a cluster log snippet for the selected period.
Note
Cluster logs are kept for 30 days.
Getting a cluster log
Management console
CLI
- In the management console
, navigate to the relevant folder. - In the list of services, select Managed Service for Apache Spark™.
- Click the name of your cluster and open the
Logs tab. - Specify the logging Level and time period for which you want to display the log.
With YC CLI, you can get Apache Spark™ cluster logs from a Yandex Cloud Logging log group.
-
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
-
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the
yc config set folder-id <folder_ID>command. You can also set a different folder for any specific command using the--folder-nameor--folder-idparameter. -
To view records in the log group, run this command:
yc logging read --group-name <log_group_name> --followYou can view the log group name on the Overview tab of the Apache Spark™ cluster.