Reading /dev/stdin wasn't working on my EC2 instance, so this is now
changed to do a plain old 'data', 'end' stream event series.