index and deflector REST APIs. Graylog2/graylog2-web-interface#394