Skip to content

Commit

Permalink
change field name and instance number
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Jan 12, 2024
1 parent 6665503 commit 5e31088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion create-space-drain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cat > manifest.yml << EOF
---
applications:
- name: ${prefix}-space-drain
instances: 0
instances: 1
memory: 64M
no-route: true
EOF
Expand Down
2 changes: 1 addition & 1 deletion logstash/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 { }
}
Expand Down

0 comments on commit 5e31088

Please sign in to comment.