The Black Friday post-mortem usually starts the week after the event, when the team finally has time to look back, and that is also the week the most useful evidence starts to disappear. Real-Time Events keeps each request record for 7 days, so the records from Friday, November 27, leave the dataset on December 4. Those records are the only place that says what happened to a single request, such as the checkout call a customer complained about or the address that kept hitting the WAF at midnight. After December 4, the aggregates still tell you how much happened, but no longer to which request.
So the review follows the expiry dates. The questions that need request-level records come first, this week. The breakdowns by address and by bot can wait until January or February, and the comparison with last year’s Black Friday can wait longer, since that data is kept for 2 years. Every query in this post is an example published in the Azion documentation, linked next to it, with only the dates changed to Black Friday 2026. You can run them in the GraphiQL Playground, which opens at the API endpoint when you’re signed in to Azion Console.
How long each layer of Black Friday evidence lasts
Azion keeps traffic data at different levels of detail, and each level has its own retention. The Real-Time Events page sets 7 days for event records, and the Real-Time Metrics limits page sets the rest:
| What you want to know | Dataset | Kept for | Black Friday 2026 data available until |
|---|---|---|---|
| What happened to a specific request: path, status, origin status, WAF match, client | workloadEvents (Real-Time Events) | 7 days | December 4, 2026 |
| Which URLs bots hit most | botManagerBreakdownMetrics | 60 days | January 26, 2027 |
| Which addresses were blocked most | httpBreakdownMetrics | 90 days | February 25, 2027 |
| How much traffic, cache status, origin status, WAF, and bot activity over time | workloadMetrics, httpMetrics, botManagerMetrics | 2 years | November 2028 |
Detail expires first. The 2-year datasets keep counts grouped by status, cache status, and time, but they carry no request path and no client, so a question about one request has an answer only in the first week.
Start the Black Friday post-mortem with the shape of the day
Before opening individual records, find the hours that matter. The GraphQL API features page shows a query on workloadMetrics that uses resample to return requests over a window in a fixed number of points. The same page says the API accepts bounds with an offset such as -03:00 and converts them to UTC, so the window below is the day of Black Friday in Brasília time:
The points with the most requests are the windows to use in the queries below. Narrow windows also keep each query under the 10,000-row cap and the limit on rows read per query, which a search across a whole day of Black Friday traffic can reach.
Questions to answer before December 4
The queries in this section read workloadEvents on the events endpoint, https://api.azion.com/v4/events/graphql, where one record holds what happened in delivery and in security for the same request.
What happened to the request a customer reported?
A complaint about a failed checkout usually comes with a time and, if your team collects it, the x-azion-request-id header the customer received. The Query HTTP request events guide finds that record with a short window around the request and the requestIdEq filter. Replace the window and the ID with the ones from the complaint:
status is what the customer received and upstreamStatus is what the origin returned, so a 502 in both says the origin failed, while a - in upstreamStatus says the response came from the cache. After December 4 this record is gone, and the complaint can only be answered with an aggregate.
Which paths took the traffic at the peak?
The top values guide ranks the most requested URIs in a window. With the window set to your peak hour, it shows which pages and API calls carried the load:
The same guide says to swap requestUri for status to rank status codes in the same hour, which shows whether the peak hour also concentrated errors. To see the paths and status codes together for your own hosts, the investigate requests guide groups events by host, URI, and status.
Which addresses hit the WAF on Black Friday?
The top IPs guide counts the requests with a WAF match by address and attack family. With the window set to Black Friday, it lists the sources worth a closer look:
If the review also needs to know whether real customers were blocked at checkout, the WAF tuning guide explains how to read a block and create an allowed rule for a false positive. For automated traffic, Bot Manager’s solved challenges are the signal for real customers who were flagged, and the post Black Friday bots: protect login, checkout, and APIs shows where to read them.
Save the answers before the records expire
Anything the post-mortem will cite needs to be saved outside the API. The GraphQL API first steps show how to send a query to the events endpoint with curl and a personal token in place of [TOKEN VALUE]:
The response is JSON, so the output of each query the review depends on can be written to a file and kept with the post-mortem.
What can wait until January and February
Two breakdown datasets on the metrics endpoint keep more detail than the totals for longer than the events. The top URLs bots reach guide ranks the URLs with the most bot requests from botManagerBreakdownMetrics, which keeps 60 days, until about January 26:
The httpBreakdownMetrics guide ranks the addresses with the most blocked requests in one hour, and that dataset keeps 90 days, until about February 25. With the hour set to your peak:
These datasets answer “where” questions without the request-level detail, which is enough for reviews that compare paths or sources but not for explaining a specific error or block.
Compare with last year’s Black Friday
The 2-year datasets still hold Black Friday 2025, on Friday, November 28, 2025, for any account that already ran on Azion. Running the first query of this post with the window from 2025-11-28T00:00:00-03:00 to 2025-11-29T00:00:00-03:00 gives a baseline from your own store, measured the same way as this year.
The status code guide adds the origin side to that comparison. Its query counts the 5xx responses by the status the customer received and the status the origin returned, and it works on both years because the dataset keeps 2 years:
The guide uses httpMetrics, which the GraphQL API queries page lists as deprecated in favor of workloadMetrics, with the same fields and rows. For the cache, the cache offload guide shows the share of requests served without reaching the origin for each domain, also over 2 years. Put side by side, the two years show whether the peak moved to another hour and whether more requests failed at the origin, and those answers are what the plan for Black Friday 2027 starts from.
Keep request-level records for the next peak
The 7-day window doesn’t have to apply to the next event. A Data Stream stream sends the same records to your storage or SIEM as they happen, in batches that close at 2,000 lines or 60 seconds, so the retention becomes whatever your team sets. The Data Stream documentation lists the data sources a stream can collect, such as Applications and WAF Events.
If the stream is running before Christmas and the queries from this review are saved, the next post-mortem can start from your own stored records instead of from whatever Real-Time Events still holds.
Close the Black Friday post-mortem with the evidence in hand
A Black Friday post-mortem that starts this week can still explain individual requests, and one that starts after December 4 can only count them. Run the queries for your peak hours and save the results now. The trends and the comparison with last year can wait for the weeks that follow, because that data stays.
Get to know Azion. Start for free or talk to an expert to keep the records of your next peak with Data Stream.
