mongodb-logs
Retrieve and analyze recent MongoDB logs to monitor events, errors, or warnings. Supports filtering by log type and customizable entry limits for efficient debugging and system health checks.
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 |