tree: 6ee83213d26ebda175ed2cd3586f7c5e369c5e02 [path history] [tgz]
  1. src/
  2. .gitignore
  3. build.properties
  4. build.xml
  5. pom.xml
  6. README.md
  7. run.sh
ambari-logsearch/ambari-logsearch-server/README.md

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
./run.sh
# 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 logsearch.properties. Based or from where you run LogSearch.java, you need to set LOGSEARCH_SERVER_RELATIVE_LOCATION env variable properly.