Use the top command. This adds two fields to the results: count and percent.
| top http_status_field_name
Then you can filter based on http_status_field_name and percent.
| top http_status_field_name | where http_status_field_name=500 AND percent>30