mongodb-logs
Retrieve recent mongod log entries to monitor database events, with options to filter by type and limit results.
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 | ||
| totalLinesWritten | Yes | ||
| shownCount | Yes |