first commit

This commit is contained in:
2024-08-22 14:05:05 +09:00
commit 1ab0d83941
34 changed files with 4083 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<match mongo.**>
@type mongo
host mongodb
port 27017
database LogDB
collection Log
<buffer>
flush_interval 5s
</buffer>
</match>
<source>
@type tail
path /fluentd/businesslogs/*.json
pos_file /var/log/td-agent/serverlog.pos
<parse>
@type json
</parse>
tag mongo.server.log
</source>