Skip to content

summarize_logs

Count logs by time and by service, pod, and the other Explorer facets. Call this before search_logs. Accepts facet filters such as service.name:api. Free-text search is rejected because it would scan raw logs. Does not return log lines.

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.
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 facet filters only, for example service.name:api pod.name:web. Free text is rejected.