Created
March 18, 2014 09:14
-
-
Save masayuki5160/9616397 to your computer and use it in GitHub Desktop.
fuentdの設定作成なう
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
<source> | |
type tail | |
tag apache.access | |
format apache | |
path /var/log/httpd/access_log | |
pos_file /var/log/httpd/access_log | |
</source> | |
<match apache.access> | |
type s3 | |
aws_key_id key | |
aws_sec_key sec_key | |
s3_bucket masayuki.tanaka.s3test | |
s3_endpoint hoge.amazonaws.com | |
s3_object_key_format %{path}%{time_slice}_%{index}_%{hostname}.%{file_extension} | |
path log/ | |
buffer_path /var/log/fluentd/s3 | |
time_slice_format %Y-%m-%d/%H | |
time_slice_wait 10m | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment