Step 1. Error analysis using status codes
The statusCode column of our data source contains information about the HTTP traffic on our website. The value 200 represents correct access to the page. This is usually the most frequent value for this parameter. Other codes, such as 4XX or 5XX, are particularly relevant when looking for errors or unusual situations.
Suppose you want to analyze the status code distribution in our demo data source and identify status codes different than 200.
You don't need to group or aggregate the data to generate a histogram. However, other charts require generating additional data, such as a numeric field to be used as a metric. For example, you can create a pie chart grouping the data, then aggregating it to create a count column.