mirror of
https://github.com/wahyd4/home-argocd.git
synced 2026-08-09 05:06:20 +10:00
Collect /var/log to es through fluent bit
This commit is contained in:
@@ -226,7 +226,14 @@ spec:
|
||||
Docker_Mode On
|
||||
Docker_Mode_Flush 5
|
||||
Docker_Mode_Parser docker
|
||||
|
||||
[INPUT]
|
||||
Name exec
|
||||
Tag host_exec.*
|
||||
Command ls /var/log
|
||||
Interval_Sec 5
|
||||
Interval_NSec 0
|
||||
Buf_Size 8mb
|
||||
Oneshot false
|
||||
[INPUT]
|
||||
Name systemd
|
||||
Tag host.*
|
||||
@@ -338,6 +345,15 @@ spec:
|
||||
Retry_Limit 20
|
||||
Replace_Dots On
|
||||
Suppress_Type_Name On
|
||||
[OUTPUT]
|
||||
Name es
|
||||
Match host_exec.*
|
||||
Host elasticsearch.es.svc.cluster.local
|
||||
Port 9200
|
||||
Index logs-node.%Y%m
|
||||
Retry_Limit 20
|
||||
Replace_Dots On
|
||||
Suppress_Type_Name On
|
||||
|
||||
## https://docs.fluentbit.io/manual/pipeline/parsers
|
||||
customParsers: |
|
||||
|
||||
Reference in New Issue
Block a user