mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 17:37:08 +01:00
before thouch change
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
input {
|
||||
udp {
|
||||
host => "0.0.0.0"
|
||||
port => 5044
|
||||
file {
|
||||
path => "/transcendence/django.log" # Adjust this path to where the log file is stored
|
||||
start_position => "beginning"
|
||||
sincedb_path => "/dev/null"
|
||||
codec => "json"
|
||||
}
|
||||
}
|
||||
|
||||
filter {}
|
||||
filter {
|
||||
}
|
||||
|
||||
output {
|
||||
elasticsearch {
|
||||
index => "logstash-%{+YYYY.MM.dd}"
|
||||
hosts => ["https://es01:9200"]
|
||||
user => "elastic"
|
||||
password => elastic_pass
|
||||
ssl_enabled => true
|
||||
password => "${ELASTIC_PASSWORD}"
|
||||
ssl_enabled => true
|
||||
ssl_certificate_authorities => "/usr/share/logstash/certs/ca/ca.crt"
|
||||
ssl_verification_mode => "full"
|
||||
index => "django-logs-%{+YYYY.MM.dd}"
|
||||
}
|
||||
#stdout {}
|
||||
stdout { codec => rubydebug } # Optional: For debugging purposes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user