Search archived logs
anypoint_search_archived_logsSearch historical Mule application logs in the Anypoint Monitoring Archive for past dates beyond the live tail's buffer, enabling investigation of older incidents.
Instructions
Search historical Mule application logs via the Anypoint Monitoring Archive API, for dates beyond the live tail's rolling buffer. Requires Anypoint Monitoring to be enabled for the organization. Use this for any past-date incident investigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Required date to search, YYYY-MM-DD (UTC). | |
| limit | No | Cap on matched lines returned, default 500. | |
| orgId | No | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. | |
| appName | Yes | Deployment name, must match the Runtime Manager name exactly. | |
| endDate | No | Inclusive range end, YYYY-MM-DD (UTC). Max 7 days total. | |
| maxFiles | No | Cap on archive files downloaded and parsed, default 100. | |
| errorOnly | No | Only return ERROR and FATAL lines. | |
| includeRaw | No | Include the raw Anypoint API objects alongside the normalized fields. | |
| maxEntities | No | Cap on replica entities probed during a full-scan fallback, default 150. | |
| searchTerms | No | Case-insensitive text filters. | |
| environmentId | No | Environment id. Use instead of environmentName. | |
| environmentName | No | Environment name, e.g. 'Production'. Resolved to an id, must match exactly one. |