Get Logs
kinsta.logs.getRetrieve log file contents (error.log or access.log) for a Kinsta environment by specifying the environment ID and log file name.
Instructions
Get log file contents for an environment. Supports error.log and access.log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | The environment ID | |
| file_name | No | Log file name (e.g. error.log, access.log) | |
| lines | No | Number of log lines to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||