Skip to content

Commit 3c8dedd

Browse files
committed
8 was not enough
1 parent 8f3bce3 commit 3c8dedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/ingestor_syslog/templates/bin/ingestor_syslog_ctl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ case $1 in
9494
echo "} #close filters" >> ${JOB_DIR}/config/logstash.conf
9595

9696
# clear persistent queue if the upgrade failed last run
97-
if tail -8 $LOG_DIR/$JOB_NAME.stdout.log | grep 'QueueUpgrade - Logstash was unable to upgrade your persistent queue data' >/dev/null ; then
97+
if tail -80 $LOG_DIR/$JOB_NAME.stdout.log | grep 'QueueUpgrade - Logstash was unable to upgrade your persistent queue data' >/dev/null ; then
9898
mkdir ${STORE_DIR}/oldqueue.$$
9999
mv ${STORE_DIR}/queue ${STORE_DIR}/.lock ${STORE_DIR}/dead_letter_queue ${STORE_DIR}/uuid ${STORE_DIR}/oldqueue.$$
100100
fi

0 commit comments

Comments
 (0)