make split&index extract 1-based

Graylog2/graylog2-web-interface#195