Get Logs
kinsta_logs_getRetrieve error, access, or cache performance logs for a Kinsta environment, filtering by date, line count, and search text.
Instructions
Get error, access, or Kinsta cache performance logs for an environment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"env_id": "<env_id>"
},
"name": "kinsta_logs_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End timestamp/date filter | |
| from | No | Start timestamp/date filter | |
| lines | No | ||
| env_id | Yes | The environment ID | |
| search | No | Text to search for | |
| file_name | No | error |