Actions6
- Server Control Actions
- Logs & Stats Actions
- Connection Actions
Logs & Stats → Request Logs
AI-generatedSummary
Request log lines from a specified server via the Pterodactyl WebSocket, retrieving up to a defined maximum number of lines within a set timeout period.
Inputs
- Server (required) — Select the server to get logs and stats from, choosing from your available Pterodactyl client servers.
- Line Limit — Set the maximum number of log lines to retrieve; defaults to 100 if not specified.
- Timeout (ms) — Define the maximum time in milliseconds to wait for the log response before timing out; defaults to 5000 ms.
Output shape
a single output containing JSON with the requested log lines from the specified server
The response includes up to the specified number of log lines or fewer if not available within the timeout. Errors during request return error details within JSON if Continue On Fail is enabled.
Examples
Example 1: Fetch up to 100 recent log lines from a selected Pterodactyl server, waiting up to 5 seconds for the response.
Set 'Server' to target server, 'Line Limit' to 100 (default), and 'Timeout (ms)' to 5000 (default).