Easypanel icon

Easypanel

Interact with Easypanel API to manage projects, services, users, monitors and settings

Service → Get Logs

AI-generated

Summary

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.

Links

Discussion