Fixed order of elasticsearch reporter parameters 'type' and 'index'

The parameters 'index' and 'type' where swapped. Fixed it to match the documentation.