forked from fluent/fluentd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example configs for common core plugins
c.f. fluent#407
- Loading branch information
Showing
8 changed files
with
132 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,14 @@ | ||
<source> | ||
type http | ||
bind 0.0.0.0 | ||
port 9880 | ||
body_size_limit 32MB | ||
keepalive_timeout 10 | ||
# backlog 0 | ||
add_http_headers false | ||
format default | ||
</source> | ||
|
||
<match test> | ||
type stdout | ||
</match> |
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,15 @@ | ||
<source> | ||
type syslog | ||
bind 0.0.0.0 | ||
port 5140 | ||
tag test | ||
protocol_type udp | ||
include_source_host false | ||
source_host_key source_host | ||
# format ... | ||
# with_priority true | ||
</source> | ||
|
||
<match test> | ||
type stdout | ||
</match> |
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,14 @@ | ||
<source> | ||
type tail | ||
format none | ||
path /var/log/fluentd_test.log | ||
pos_file /var/log/fluentd_test.pos | ||
tag test | ||
rotate_wait 5 | ||
read_from_head true | ||
refresh_interval 60 | ||
</source> | ||
|
||
<match test> | ||
type stdout | ||
</match> |
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,13 @@ | ||
<source> | ||
type tcp | ||
format none | ||
bind 0.0.0.0 | ||
port 5170 | ||
delimiter \n | ||
source_host_key "host" | ||
tag test | ||
</source> | ||
|
||
<match test> | ||
type stdout | ||
</match> |
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,13 @@ | ||
<source> | ||
type udp | ||
format none | ||
bind 0.0.0.0 | ||
port 5160 | ||
body_size_limit 4KB | ||
source_host_key "host" | ||
tag test | ||
</source> | ||
|
||
<match test> | ||
type stdout | ||
</match> |
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,20 @@ | ||
<source> | ||
type forward | ||
</source> | ||
|
||
<match test> | ||
type copy | ||
deep_copy false | ||
<store> | ||
type stdout | ||
</store> | ||
<store> | ||
type file | ||
path /var/log/fluentd/out_file_test | ||
format json | ||
buffer_type memory | ||
# compress gzip | ||
# symlink_path /path/to/symlink | ||
append false | ||
</store> | ||
</match> |
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,13 @@ | ||
<source> | ||
type forward | ||
</source> | ||
|
||
<match test> | ||
type file | ||
path /var/log/fluentd/out_file_test | ||
format json | ||
buffer_type memory | ||
# compress gzip | ||
# symlink_path /path/to/symlink | ||
append false | ||
</match> |
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,30 @@ | ||
<source> | ||
type forward | ||
</source> | ||
|
||
<match test> | ||
type forward | ||
|
||
<server> | ||
# first server | ||
port 24224 | ||
</server> | ||
<server> | ||
# second server | ||
port 24225 | ||
</server> | ||
<server> | ||
# second server | ||
port 24226 | ||
standby | ||
</server> | ||
|
||
send_timeout 60 | ||
heartbeat_type udp | ||
heartbeat_interval 1 | ||
recover_wait 10 | ||
hard_timeout 60 | ||
expire_dns_cache nil | ||
phi_threshold 16 | ||
phi_failure_detector true | ||
</match> |