-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0326bda
commit 0849313
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[SERVICE] | ||
Parsers_File parsers.conf | ||
Daemon Off | ||
Log_Level info | ||
HTTP_Server off | ||
HTTP_Listen 0.0.0.0 | ||
HTTP_Port 24224 | ||
[INPUT] | ||
Name tail | ||
Tag gugotik.* | ||
Path /var/log/gugotik/*.log | ||
Mem_Buf_Limit 10MB | ||
DB /var/log/flt_logs.db | ||
Refresh_Interval 5 | ||
Ignore_Older 10s | ||
Rotate_Wait 5 | ||
[FILTER] | ||
Name record_modifier | ||
Match * | ||
Key_name message | ||
Record hostname ${HOSTNAME} | ||
Record namespace gugotik | ||
Record environment prod | ||
[OUTPUT] | ||
Name es | ||
Match * | ||
Host [YOUR HOST] | ||
Port 9200 | ||
Logstash_Format On | ||
Retry_Limit False | ||
Time_Key @timestamp | ||
Logstash_Prefix gugotik |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[PARSER] | ||
Name docker | ||
Format json | ||
Time_Key time | ||
Time_Format %Y-%m-%dT%H:%M:%SZ | ||
Time_Keep On |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Log Solution | ||
|
||
GuGoTik 支持以 Fluent-bit 以 Sidecar 模式收集日志,目录中为推荐配置方案,开箱即用。 | ||
|
||
# Use | ||
|
||
请根据需要自行更改 ES 的用户账号和密码等 |