mongodb-logs
Retrieve recent MongoDB log entries, including global events or startup warnings, to monitor database activity and diagnose issues.
Instructions
Returns the most recent logged mongod events
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | The type of logs to return. Global returns all recent log entries, while startupWarnings returns only warnings and errors from when the process started. | global |
| limit | No | The maximum number of log entries to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | ||
| shownCount | Yes | ||
| totalLinesWritten | Yes |