inputs = ['logs']
type = 'tokenizer'
field_names = ["timestamp", "level", "message"]
[transforms.sampler]
inputs = ['tokenizer']
type = 'sampler'
hash_field = 'request_id'
rate = 10
[sinks.search]
inputs = ['sampler']
type = 'elasticsearch'
host = '123.123.123.123:5000'
[sinks.backup]
inputs = ['tokenizer']
type = 's3'
region = 'ap-northeast-1'
bucket = 'log-backup'
key_prefix = 'date=%F'
Vector config