tree: 6ee83213d26ebda175ed2cd3586f7c5e369c5e02 [path history] [tgz]
  1. src/
  2. .gitignore
  4. build.xml
  5. pom.xml

Log Search Server

Start locally from maven / IDE

Other services (like zookeeper, solr, logfeeder) can be started with docker-compose

cd ambari/ambari-logsearch/docker
docker-compose up -d zookeeper solr logfeeder

Then you can start Log Search server from maven

cd ambari/ambari-logsearch/ambari-logsearch-server
# or
mvn clean package -DskipTests spring-boot:run

You can also start Log Search server from an IDE as well. One thing is important: the config set location that the server tries to upload to ZooKeeper. By default config sets are located at ${LOGSEARCH_SERVER_RELATIVE_LOCATION:}src/main/configsets in Based or from where you run, you need to set LOGSEARCH_SERVER_RELATIVE_LOCATION env variable properly.