Actions65
- Auth Actions
- License Actions
- Monitor Actions
- Project Actions
- Service Actions
- Create
- Create from Template
- Create from Schema
- Delete
- Deploy
- Disable
- Enable
- Expose Service
- Get
- Get Logs
- Get Stats
- Refresh Deploy Token
- Restart
- Update Backup
- Update Basic Auth
- Update Build
- Update Deploy
- Update Domains
- Update Environment
- Update Health Check
- Update Mounts
- Update Ports
- Update Redirects
- Update Resources
- Update Source - Docker Image
- Update Source - Git
- Update Source - GitHub
- Settings Actions
- Change Credentials
- Get GitHub Token
- Get Let's Encrypt Email
- Get Panel Domain
- Get Server IP
- Get Status
- Get Traefik Custom Config
- Prune Docker Builder
- Prune Docker Images
- Refresh Server IP
- Restart Easypanel
- Restart Traefik
- Set Docker Prune Daily
- Set GitHub Token
- Set Let's Encrypt Email
- Set Panel Domain
- Update Traefik Custom Config
- Template Actions
- User Actions
Service → Get Logs
AI-generatedSummary
Retrieve recent logs for a service in an Easypanel project. The operation calls the service-type-specific logs endpoint and returns the service identifiers alongside the logs.
Inputs
- Service Type — Service kind: App (default), MariaDB, MongoDB, MySQL, PostgreSQL, or Redis.
- Project Name (required) — Name of the Easypanel project containing the service.
- Service Name (required) — Name of the service whose logs to retrieve.
- Lines — Number of log lines to request; defaults to 50.
Output shape
A single record per input item, containing the service identifier, projectName, serviceName, and logs.
The service identifier is formatted as projectName_serviceName. logs is an array: an API array is returned as-is, a string is split into non-empty lines, and other response types produce an empty array.