clean trailing whitespace.
Merge pull request #1128 from miah/whitespace

clean trailing whitespace in elasticsearch output modules.