Created
August 31, 2022 03:41
-
-
Save cdecl/4d8c98160a37fc0fc8687360225f273b to your computer and use it in GitHub Desktop.
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
input { | |
beats { | |
port => 5044 | |
} | |
http { | |
host => "0.0.0.0" | |
port => 8044 | |
} | |
} | |
filter { | |
} | |
output { | |
stdout { | |
codec => rubydebug | |
} | |
s3 { | |
access_key_id => "infra" | |
secret_access_key => "infra1234" | |
endpoint => "http://172.24.207.47:9000" | |
additional_settings => { force_path_style => true } | |
prefix => "%{+YYYY/MM/dd}/" | |
bucket => "data" | |
size_file => 1024 | |
time_file => 10 | |
# encoding => "gzip" | |
codec => line { format => "%{message}" } | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment