集成elk收集日志

This commit is contained in:
zhh
2018-09-11 15:54:16 +08:00
parent 0862e9fc74
commit 8e959bf873
10 changed files with 119 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
input {
tcp {
port => 4560
codec => json_lines
}
}
output{
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}