added head plugin to elastic