input file output minio
input
{
file
{
path => "/usr/share/logstash/test/2_minio_file.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
codec => "json"
}
}
filter
{
}
output
{
s3
{
access_key_id => "minio"
secret_access_key => "minio123"
bucket => "bucketcpi"
endpoint => "http://nginx:9000"
additional_settings =>
{
force_path_style => true
follow_redirects => false
}
rotation_strategy => "time"
time_file => 1
codec => "json_lines"
}
stdout
{
codec => "rubydebug"
}
}
'Database > ElasticSearch' 카테고리의 다른 글
[ES] 엘라스틱서치의 장점 (0) | 2024.06.07 |
---|---|
[logstash] input file output mysql pipeline .conf (0) | 2021.09.20 |
[logstash] input api output elasticsearch pipeline .conf (0) | 2021.09.20 |
[logstash] input api output kafka pipeline .conf (0) | 2021.09.20 |
[logstash] input minio output file pipeline .conf (0) | 2021.09.20 |