Skip to content

Commit

Permalink
Merge pull request #75 from 2023-Winter-Bootcamp-Team-J/feat/#74
Browse files Browse the repository at this point in the history
feat : nginx와 elk 연결
  • Loading branch information
kanguk01 authored Jan 23, 2024
2 parents 2b75a4a + 0ff3014 commit 49f4379
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions logging/filebeat/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
filebeat.inputs:
- type: log
paths:
- /logging/django.log
- /var/log/nginx/*.log

output.elasticsearch:
hosts: ["elasticsearch:9200"]
output.logstash:
enabled: true
hosts: ["logstash:5044"]

setup.kibana:
host: "http://kibana:5601"
2 changes: 1 addition & 1 deletion logging/logstash/pipeline/logstash.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
input {
beats {
port => 5000
port => 5044
}
}

Expand Down

0 comments on commit 49f4379

Please sign in to comment.