logs_search
Search Firebase emulator logs across services, functions, calls, levels, and time ranges to return newest matching lines, oldest first.
Instructions
Search the suite's log (every emulator and every function's console output) by service, level, function, call, text and time; returns the newest matching lines, oldest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Extra filter terms in the console's grammar, e.g. kind:rules.denied payload.orderId:o1 -level:debug | |
| to | No | Lines at or before, in the same forms | |
| from | No | Lines at or after: RFC 3339, YYYY-MM-DD, today, reload (since the last Functions reload) or relative like -15m | |
| text | No | Case-insensitive text the message or payload contains | |
| level | No | Only these levels (any of), e.g. ["warn","error"] | |
| limit | No | At most this many lines; default 50 | |
| before | No | The older cursor of a previous search, for the lines before it | |
| service | No | Only these services (any of) | |
| function | No | Only this function's lines: its name or <region>-<name> id | |
| execution | No | Only one function call's lines: the call id from functions_list_calls |