Last active
August 29, 2015 14:04
-
-
Save kiyoto/52fb58a9eb3db5b1b604 to your computer and use it in GitHub Desktop.
hsinclar-test.conf
This file contains hidden or 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
# sender td-agent.conf | |
#--------------------------------------------------- | |
<source> | |
type forward | |
</source> | |
<match apache.*> | |
type secure_forward | |
shared_key somekey | |
self_hostname sslserver.mydomain.com | |
<server> | |
host log-std01.mydomain.com | |
port 2514 | |
</server> | |
</match> | |
#---------------eof | |
# receiver td-agent.conf | |
#--------------------------------------------------- | |
<source> | |
type secure_forward | |
shared_key somekey | |
self_hostname log-std01.mydomain.com | |
cert_auto_generate yes | |
port 2514 | |
</source> | |
<match *.access> | |
type file | |
path /var/log/applogs/access | |
time_slice_format %Y%m%d | |
time_slice_wait 10m | |
time_format %Y%m%dT%H:%M:%S%z | |
</match> | |
<match *.error> | |
type file | |
path /var/log/applogs/error | |
time_slice_format %Y%m%d | |
time_slice_wait 10m | |
time_format %Y%m%dT%H:%M:%S%z | |
</match> | |
<match fluent.info> | |
type file | |
path /var/log/applogs/fluent-info | |
</match> | |
<match debug> | |
type stdout | |
</match> | |
#---------------eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment