Runlogs in CloudRay provide a detailed record of every script execution, allowing you to track the progress, status, and results of your automation tasks. Whether you’re running a single script or orchestrating a complex workflow with a Script Playlist, Runlogs offer valuable insights into your automation activities.

Understanding Runlogs

A Runlog is a record of a specific script execution instance. It includes details such as the server, script (or script playlist), variable group (if used), start time, end time, status, and output.

Runlogs can have the following statuses:

StatusDescription
EnqueuedThe Runlog is queued and awaiting execution
RunningThe script is currently being executed on the server
FinishedThe script execution completed successfully
FailedThe script encountered an error and did not complete successfully
AwaitingThe Runlog is executing a Script Playlist and is waiting for one of the script in the playlist to finish

Creating a Runlog

Follow these steps to create and execute a new Runlog:

  1. Navigate to “Runlogs”: Click on the “Runlogs” tab in the CloudRay interface
Screenshot of adding a new Runlog
  1. Click “Run a Script”: This opens the Runlog creation form
  2. Enter Details:
Screenshot of sample Runlog
  • Server: Select the server where you want to run the script or playlist
  • Script: Choose either a single script or a script playlist to execute
  • Variable Group (Optional): If your script uses variables, select the appropriate variable group
  1. Click “Run Now”: CloudRay will queue the Runlog for execution

Viewing and Managing Runlogs

CloudRay provides a comprehensive interface to view and manage your Runlogs.

Runlog List

The “Runlogs” page displays a list of all your Runlogs, along with their status, server, script, and start time.

View Runlog Details

Click on a Runlog to view detailed information, including:

Screenshot of sample result Runlog
  • Status: Current execution status
  • Server: The target server
  • Script/Script Playlist: The executed script or playlist
  • Variable Group: The associated variable group (if any)
  • Start Time/End Time: Time stamps for execution start and completion
  • Output: The console output generated by the script

Use the filters and search bar to quickly find specific Runlogs based on status, server, script, or date.

Key Features of Runlogs

Here are the key features of Runlogs in CloudRay

StatusDescription
Real-time MonitoringTrack script execution progress in real-time
Detailed OutputAccess console output for debugging and verification
Status TrackingMonitor Runlog statuses (Enqueued, Running, Finished, Failed, Awaiting)
Historical DataRetain Runlog data for a specified period (see your plan details)

Important Notes

  1. Queueing: CloudRay executes Runlogs sequentially for each server. If a Runlog is already running on a server, new Runlogs for that server will be queued
  2. Concurrent Execution: To run multiple Runlogs concurrently, use different servers
  3. Error Handling: Refer to the script’s output in the Runlog to diagnose and fix errors
  4. Log Retention: CloudRay retains Runlog data for a specified period (see your plan details)