name, action A,go B,stop A,stop C,stop
In elasticsearch, these values are stored in the name and action fields.
What I want to get is to group each count in the action field by name and view them in table form.
name, go, stop A, 1, 1 B, 0, 1 C, 0, 1
Finally is the type of table I want