All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chengpohi.registry.ELKCommandRegistry.scala Maven / Gradle / Ivy

The newest version!
package com.github.chengpohi.registry

import com.github.chengpohi.api.ElasticDSL
import com.github.chengpohi.connector.ElasticClientConnector
import com.github.chengpohi.helper.ResponseGenerator
import com.github.chengpohi.parser.{InterceptFunction, ELKParser, ParserUtils}

/**
  * elasticshell
  * Created by chengpohi on 4/4/16.
  */

object ELKCommandRegistry {
  val client = ElasticClientConnector.client
  val responseGenerator = new ResponseGenerator
  val elasticDSL = new ElasticDSL(client)
  val interceptFunction = new InterceptFunction(elasticDSL)
  val elkParser = new ELKParser(interceptFunction)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy