| starburst_logs | R Documentation |
View worker logs
starburst_logs(task_id = NULL, cluster_id = NULL, last_n = 50, region = NULL)
task_id |
Optional task ID to view logs for specific task |
cluster_id |
Optional cluster ID to view logs for specific cluster |
last_n |
Number of last log lines to show (default: 50) |
region |
AWS region (default: from config) |
Invisibly returns the list of log events, or NULL if no
events were found.
if (starburst_is_configured()) {
# View recent logs
starburst_logs()
# View logs for specific task
starburst_logs(task_id = "abc-123")
# View last 100 lines
starburst_logs(last_n = 100)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.