clean trailing whitespace in elasticsearch output modules.

I cleaned up all the trailing whitespace in the elasticsearch output modules.