Skip to content

Instantly share code, notes, and snippets.

@cdecl
Created August 31, 2022 03:41
Show Gist options
  • Save cdecl/4d8c98160a37fc0fc8687360225f273b to your computer and use it in GitHub Desktop.
Save cdecl/4d8c98160a37fc0fc8687360225f273b to your computer and use it in GitHub Desktop.
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