Skip to content

top_log_patterns

Return the 10 most common normalized messages in a window of at most one hour. Numbers, UUIDs, and IP addresses are collapsed. Call summarize_logs first, then pass the spike hour here, then search_logs for the lines.

Field Required Type Description
project_id yes string (UUID) Project UUID from list_projects.
start_date yes string ISO 8601 start. The window must be at most one hour.
end_date yes string ISO 8601 end. The window must be at most one hour.
level no string Optional log level filter.
index no string Optional environment/index filter.
query no string Optional facet filters and one plain-text term. Comparisons, NOT, and OR are rejected.