elasticsearch: support for grouping stats for logstash indices

Change-Id: Iba0aee3a8de34ee83e68499d7d5a9ebc947485e5
Merge pull request #498 from rtoma/es

elasticsearch: support for grouping stats for logstash indices