bronto-error-investigation
Investigate an error with Bronto logs
Most error investigations end with the same question: what do the failing events have in common that the healthy ones don't? This skill answers it from the error's distribution rather than from reading log lines one by one. It defines the error precisely, finds when it started, splits it by the dimensions that usually explain errors, and confirms the strongest suspect with a control query.
This skill covers the investigation method. For Bronto's search syntax, quoting rules and which tool returns what, use the bronto-log-search skill. To find the datasets that hold a service's logs, use the bronto-dataset-discovery skill.
All steps are read-only. Do not create monitors or saved searches as part of this skill.
1. Start from what you were given
- A Bronto monitor alert. The incident description carries the monitor's
Query,Group,Value,Windowand a monitor link. UseQueryas the starting error filter in step 2, and take the alert time as the end of the window. IfGroupnames a value, such as one host or path, note it: it is already a suspect to check in step 5. - A specific error event (a log line, a request ID or a timestamp). Find the event with
search_logsusing free text and a smalllimit, and note its dataset and timestamp. - A service and a symptom ("checkout-api is throwing 500s"). Use
bronto-dataset-discoveryto find the datasets and the key that identifies the service.
If the datasets are still unknown, call get_error_summary for the window. Its by_dataset list names only the datasets with errors and warnings, and it does not use search quota.
Pass every time window as timerange_start and timerange_end in Unix epoch milliseconds, so that each query covers exactly the same period and the results can be compared.