fix role specification for elasticsearch and graphite