Download variables for all events

Sentry has a lovely feature where it displays values of variables along with the stack trace. I would like to download a CSV containing the value of a specific variable for all 100 events in an issue. How can I do this? I wasn’t able to find the column in the query builder.