Fix for LOGSTASH-2129
Merge pull request #1283 from coolacid/LOGSTASH-2129

[Documentation Fix: Generator example] LOGSTASH-2129