rpm-build
on Mac OS Xgit clone https://github.com/apache/ambari-logsearch cd ambari-logsearch
make rpm
make deb
make package
# Log Search Portal (server + UI) yum install -y /my/path/ambari-logsearch-portal.rpm # Log Feeder yum install -y /my/path/ambari-logsearch-logfeeder.rpm # or if a repo is available that contains logsearch packages yum install -y ambari-logsearch-portal yum install -y ambari-logsearch-logfeeder
# Log Search Portal (server + UI) dpkg -i /my/path/ambari-logsearch-portal.deb # Log Feeder dpkg -i /my/path/ambari-logsearch-logfeeder.deb # or if a repo is available that contains logsearch packages apt-get install ambari-logsearch-portal apt-get install ambari-logsearch-logfeeder
mkdir logsearch tar -xzf ambari-logsearch-portal.tar.gz -C logsearch mkdir logfeeder tar -xzf ambari-logsearch-logfeeder.tar.gz -C logfeeder
Click on Add Service page:
Then select Log Search on Add Services page:
Then (after setting the right configuration on Configure services page) you can start the Log Search / Log Feeder deployments.
LOGSEARCH_SERVER
(1 node, or 1+, as Log Search Portal is stateless)LOGSEARCH_LOGFEEDER
(All nodes)Solr
6.x+ and ZooKeeper
(as Solr is used in Cloud mode) is required for Log Search Portal - Ambari Infra Solr can be used as a built-in Solr service in Ambari, but of course it can use an external Solr as well.Required configuration files for Log Search Portal at /usr/lib/ambari-logsearch-portal/conf
:
Required configuration files for Log Feeder at /usr/lib/ambari-logsearch-logfeeder/conf
:
See more about the configurations: Log Search properties, Log Feeder properties and Log Feeder shipper configurations
Go to Ambari UI and start Log Search components or manually starts by logsearch.sh
or logfeeder.sh
script
# starting Log Search /usr/lib/ambari-logsearch-portal/bin/logsearch.sh start # starting Log Feeder /usr/lib/ambari-logsearch-logfeeder/bin/logsearch.sh start