Then you can use a Filter agg to only show the value(s) you care about. In your case, you'll want to filter on success_field: 1, where success_field is the success indicator field, and I'm assuming you are storing a 1 or 0 in there. tweak as needed. Here's an idea of what you'll end up with (of course, my data is quite different from yours):
Alternatively, if you stores success and error in the same field (where success was 1, and error was 0), you could see what you wanted with a pie chart too, which would show the relative percentages of each value. As far as I can tell, there's really no other way to get percentage info out of Kibana.