diff origin/production/logstash0.internal.softwareheritage.org current/logstash0.internal.softwareheritage.org
*******************************************
File[/usr/local/bin/es_reopen_closed_indexes.sh] =>
parameters =>
content =>
@@ -23,8 +23,9 @@
_
function log_indices() {
+ local CONDITION="index_closed_exception"
if [ -z "$1" ]; then
- journalctl -x -u logstash | grep "cluster_block" | filter_index_name
+ journalctl -x -u logstash | grep ${CONDITION} | filter_index_name
else
- tail -n$1 $LOGFILE | grep "cluster_block" | filter_index_name
+ tail -n$1 $LOGFILE | grep ${CONDITION} | filter_index_name
fi
}
*******************************************
*** End octocatalog-diff on logstash0.internal.softwareheritage.orgDetails
Details
- Reviewers
olasd - Group Reviewers
System administrators - Commits
- rSPSITE2f198d27fd56: logstash: Fix the closed index's error filtering
Diff Detail
Diff Detail
- Repository
- rSPSITE puppet-swh-site
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.