search_events
Events as Explore finds them, newest first: in an environment and range, at levels and in categories (by key or label), with fields holding values, and with words in the title, culprit or message. q is the search language (statoss.com/docs/search) as Explore reads it: words, phrases and /regex/ in the title, culprit or message, level:, category:, field:value, with -term or !key:value to leave out, a OR b, key:[a, b], * at either end of a value, key:>500 and has:key. Pages with cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | The search, as Explore reads it. | |
| apps | No | Apps by id or slug, from list_apps; every app the key reaches when left out. appId wins over it. | |
| appId | No | An app's id or slug, from list_apps. Holds the call to that app. | |
| level | No | Levels, by key or label. | |
| limit | No | How many, from 1 to 100. Default 25. | |
| range | No | How far back. 14d when left out. | |
| cursor | No | The cursor the last page gave, for the next one. | |
| fields | No | Fields and the value each must hold: {"route": "/pay"}. Up to 10. | |
| category | No | Categories, by key or label. | |
| environment | No | An environment's name, such as production. Every one when left out. |