added index, document_id and empty query return

Improved elasticsearch filter.
Added fields
Specify index to be logstash-* by default.
Capture document_id for use in output overwriting.


Return properly if nothing is found.