mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 17:37:08 +01:00
my modif
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
input {
|
||||
file {
|
||||
path => "/transcendence/django.log" # Adjust this path to where the log file is stored
|
||||
start_position => "beginning"
|
||||
path => "/usr/share/logstash/logs/django.log"
|
||||
start_position => "beginning"
|
||||
sincedb_path => "/dev/null"
|
||||
codec => "json"
|
||||
}
|
||||
}
|
||||
|
||||
filter {
|
||||
json {
|
||||
source => "message"
|
||||
target => "json_message"
|
||||
}
|
||||
}
|
||||
|
||||
output {
|
||||
@@ -20,5 +24,5 @@ output {
|
||||
ssl_verification_mode => "full"
|
||||
index => "django-logs-%{+YYYY.MM.dd}"
|
||||
}
|
||||
stdout { codec => rubydebug } # Optional: For debugging purposes
|
||||
}
|
||||
stdout { codec => rubydebug }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user