add infra app logstash for omada syslog
This commit is contained in:
@@ -11,12 +11,29 @@ data:
|
||||
path.config: "/opt/bitnami/logstash/config/misc.conf"
|
||||
omada.conf: |
|
||||
input {
|
||||
file {
|
||||
path => "/tmp/omada"
|
||||
tcp {
|
||||
port => 1514
|
||||
type => syslog
|
||||
}
|
||||
udp {
|
||||
port => 1514
|
||||
type => syslog
|
||||
}
|
||||
http {
|
||||
port => 8008
|
||||
}
|
||||
}
|
||||
output {
|
||||
stdout { }
|
||||
s3 {
|
||||
access_key_id => ${omada_s3_access_key_id}
|
||||
bucket => "logstash"
|
||||
canned_acl => "bucket-owner-read"
|
||||
endpoint => "http://minio.minio.svc.cluster.local:19000"
|
||||
prefix => "omada/%{+YYYY}/%{+MM}/%{+dd}"
|
||||
region: "ap-southeast-2"
|
||||
secret_access_key => ${omada_s3_secret_access_key}
|
||||
time_file => 60
|
||||
}
|
||||
}
|
||||
misc.conf: |
|
||||
input {
|
||||
|
||||
Reference in New Issue
Block a user