Skip to content

search_logs

Search decrypted logs for a Logsblox project across a date range. Supports optional filters: level (info, warn, error, or debug), index (environment name), and a free-text query matched against message and metadata values. Also supports token filters like container.name:my-app inside query. Results are paginated via cursor.

start_date and end_date are required.

Field Required Type Description
project_id yes string (UUID) Project UUID from list_projects.
start_date yes string ISO 8601 start of the date range, for example 2026-07-14T00:00:00Z.
end_date yes string ISO 8601 end of the date range.
level no string Optional log level filter.
index no string Optional environment/index filter.
query no string Optional search query (matches message and metadata; supports key:value tokens).
cursor no string Optional pagination cursor from a previous response.