Output failed test data elements to file

I have a request configured for Collection Runner that executes a data file. The test for said request evaluates the value of an element in the response against a value from the data file. Once the runner is done, I’d like to get a simple list of the failed data values.

Unfortunately these runner collections tend to have thousands of iterations so scrolling through the UI to identify the failures and correlate those iterations to value from my data sheet is a bit time consuming.

I was trying to adapt one of these: http://blog.getpostman.com/2017/09/01/write-to-your-local-file-system-using-a-postman-collection/ OR https://github.com/postmanlabs/postman-app-support/issues/3033#issuecomment-301758179

but I’m not much of a coder so its proven difficult up to this point.

Any help is appreciated!