remove analysis code which is moving to es plugin