Skip to content

Commit 44bbda1

Browse files
committed
fix syntax and improve messages
1 parent 6e26f90 commit 44bbda1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/installes.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ fi
517517
# starting with ES 6.2 , the exclude TA option no longer exist (the TA ae no longer shipped)
518518

519519
if [[ "${ESINSTALLERNFORCENOTA}" == "yes" ]]; then
520-
echo_log "INFO: running ES setup with TA excluded (please wait for setup to complete...)"
520+
echo_log "INFO: running ES setup with TA excluded (please wait for setup to complete...it will take a while, if you want to follow what ES setup does, you may run in another session tail -f $SPLUNK_HOME/var/log/splunk/essinstaller2.log)"
521521
if [[ "${SHC}" -eq 1 ]]; then
522522
${SPLUNK_HOME}/bin/splunk search '| essinstall --deployment_type shc_deployer --skip-ta Splunk_TA_bluecoat-proxysg Splunk_TA_bro Splunk_TA_flowfix Splunk_TA_juniper Splunk_TA_mcafee Splunk_TA_nessus Splunk_TA_nix Splunk_TA_oracle Splunk_TA_ossec Splunk_TA_rsa-securid Splunk_TA_sophos Splunk_TA_sourcefire Splunk_TA_symantec-ep Splunk_TA_ueba Splunk_TA_websense-cg Splunk_TA_windows TA-airdefense TA-alcatel TA-cef TA-fortinet TA-ftp TA-nmap TA-tippingpoint TA-trendmicro ' -timeout 600
523523
else
@@ -564,7 +564,7 @@ if tail -5 "$SPLUNK_HOME/var/log/splunk/essinstaller2.log" | grep -q " STAGE COM
564564
echo_log "This script has just done the initial ES setup, please continue with the rest of the ES installation guide steps as needed"
565565
echo_log "in particular, don't forget to : install/upgrade TA (forSH/, configure indexes for ES in org_all_indexes or org_es_indexes via CM for the version of ES used, tune the SH with appropriate scheduling and tuning for ES, tune indexers , ...."
566566
else
567-
tail -25 $SPLUNK_HOME/var/log/splunk/essinstaller2.log; fail_log "FAIL FAIL FAIL ********************: missing STAGE COMPLETE in $SPLUNK_HOME/var/log/splunk/essinstaller2.log : investigate please ************\nsee above last 25 lines of $SPLUNK_HOME/var/log/splunk/essinstaller2.log ")
567+
tail -25 $SPLUNK_HOME/var/log/splunk/essinstaller2.log; fail_log "FAIL FAIL FAIL ********************: missing STAGE COMPLETE in $SPLUNK_HOME/var/log/splunk/essinstaller2.log : investigate please ************\nsee above last 25 lines of $SPLUNK_HOME/var/log/splunk/essinstaller2.log "
568568
echo_log "looking for recent crash log files that could have happened during setup"
569569
find $SPLUNK_HOME/var/log/splunk -name "crash*" -mmin -5 -print
570570
fi

0 commit comments

Comments
 (0)