mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 23:11:10 +00:00
chore: jsonのログを見れるように
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<source>
|
||||
@type tail
|
||||
path /in/logFile.log.json
|
||||
pos_file /in/logFile.pos
|
||||
tag hideout
|
||||
<parse>
|
||||
@type json
|
||||
</parse>
|
||||
</source>
|
||||
|
||||
<match hideout>
|
||||
@type elasticsearch
|
||||
host elasticsearch
|
||||
port 9200
|
||||
index_name logs
|
||||
include_timestamp true
|
||||
user elastic
|
||||
password Passw0rd
|
||||
</match>
|
||||
Reference in New Issue
Block a user