Stay organized with collections Save and categorize content based on your preferences.
Firebase Local Emulator Suite provides a rich user interface that includes support for viewing emulator logs. You can filter logs in the Emulator Suite UI using the query syntax described on this page.
The logs query language supports exact comparisons and and operations. Other operations are not currently supported.
Quotes are generally optional, except when using spaces or newlines.
Note this query syntax is available in Emulator Suite UI only. Emulators output additional logs in the *-debug.log files in your project directory (e.g., firestore-debug.log).
// Find only info logs.level=info//Find logs for the sayHelloWorld functionmetadata.emulator.name=functionsmetadata.function.name=sayHelloWorld//Find any log mentioning "hello world"helloworld// turns into search="hello world" internally//Return any Hosting POST requestsmetadata.emulator.name=hostingsearch=POST
Keywords
level
Log level. One of warn, info, error.
search
Text to match in a fuzzy search. For example, search=abc returns logs with the text "abc".
Use the search keyword to combine fuzzy searches with other keyword searches using the and operator.
metadata
Query on a specific emulator or on a function name.
metadata.emulator.name
Query logs from a specified emulator. One of firestore, functions, database, pubsub, hosting, storage.
metadata.function.name
The function name as defined in user app code.
user
Any JSON data the user logged from in-app code, for example:
console.log(JSON.stringify({hello: world}))
The above log output can be queried with user.hello.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-21 UTC."],[],[]]