add elastic plugin