Jayush Luniya 8ac653f9a6 Create branch-2.5 (jluniya) hace 9 años
..
production 39c85bb825 AMBARI-15679. Initial commit for LogSearch module (oleewre) hace 9 años
src 5193e6a6e2 AMBARI-18054. Logsearch portal daterange calendar resets start date to invalid date while trying to enter end date (Dharmesh Makwana via smohanty) hace 9 años
.gitignore 39c85bb825 AMBARI-15679. Initial commit for LogSearch module (oleewre) hace 9 años
LICENSE.txt fd92103438 AMBARI-17670. Modify Ambari Notice/License as needed for LogSearch (Dharmesh Makwana via oleewere) hace 9 años
README.md 39c85bb825 AMBARI-15679. Initial commit for LogSearch module (oleewre) hace 9 años
build.properties 39c85bb825 AMBARI-15679. Initial commit for LogSearch module (oleewre) hace 9 años
build.xml 888faf260d AMBARI-16034. Incremental changes to LogSearch to bring it up to date in the trunk (Dharmesh Makwana via oleewere) hace 9 años
gulpfile.js 39c85bb825 AMBARI-15679. Initial commit for LogSearch module (oleewre) hace 9 años
package.json 39c85bb825 AMBARI-15679. Initial commit for LogSearch module (oleewre) hace 9 años
pom.xml 8ac653f9a6 Create branch-2.5 (jluniya) hace 9 años
run.sh 888faf260d AMBARI-16034. Incremental changes to LogSearch to bring it up to date in the trunk (Dharmesh Makwana via oleewere) hace 9 años

README.md

#Compilation mvn clean compile package

#Deploy ##Copy to remote copy target/logsearch-portal.tar.gz to host machine ##Setup environment

mkdir /opt/logsearch
cd /opt/logsearch
tar xfz ~/logsearch-portal.tar.gz 

#Create Solr Collection Edit for log retention days (default is 7 days)

vi solr_configsets/hadoop_logs/conf/solrconfig.xml
    <processor class="solr.DefaultValueUpdateProcessorFactory">
        <str name="fieldName">_ttl_</str>
        <str name="value">+7DAYS</str>
    </processor>
./create_collections.sh $SOLR_HOME $NUM_SHARDS $NUM_OF_REPLICATIONS `pwd`/solr_configsets
vi classes/logsearch.properties
solr.zkhosts=$ZK1:2181,$ZK2:2181,$ZK3:2181/solr

This script will stop logsearch if it is running and restart it

./run.sh