Needed for corresponding patch to graylog2-server which fixes input spawn bug

Corresponding minimal change for the web interface which fixes the bug that prevents a second input that is tracking connection metrcis to spawn because of non-unique metric ids.