mongodb-logs
Retrieve recent MongoDB log events, including global logs or startup warnings, with customizable limits for troubleshooting and monitoring database activity.
Instructions
Returns the most recent logged mongod events
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | The maximum number of log entries to return. | |
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 |