diff --git a/create-space-drain.sh b/create-space-drain.sh index f56a1b9..f121f1c 100755 --- a/create-space-drain.sh +++ b/create-space-drain.sh @@ -39,7 +39,7 @@ cat > manifest.yml << EOF --- applications: - name: ${prefix}-space-drain - instances: 0 + instances: 1 memory: 64M no-route: true EOF diff --git a/logstash/logstash.conf b/logstash/logstash.conf index ecf98e4..9d9b597 100755 --- a/logstash/logstash.conf +++ b/logstash/logstash.conf @@ -95,7 +95,7 @@ filter{ if ( ([log_data] and [log_data] =~ /^NginxLog/) or - ([hostname] and [http_status] and [hostname] =~ /^logstash-/ and [http_status] == "200") + ([hostname] and [status] and [hostname] =~ /^logstash-/ and [status] == "200") ) { drop { } }