-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(new sink): Initial
aws_kinesis_firehose
sink (#1388)
Signed-off-by: Luke Steensen <[email protected]>
- Loading branch information
1 parent
dda55ba
commit 518ba0e
Showing
17 changed files
with
1,280 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[sinks.aws_kinesis_firehose] | ||
title = "AWS Kinesis Firehose" | ||
batch_size = 1049000 | ||
batch_timeout = 1 | ||
beta = true | ||
buffer = true | ||
common = false | ||
delivery_guarantee = "at_least_once" | ||
egress_method = "batching" | ||
encodings = ["json", "text"] | ||
function_category = "transmit" | ||
healthcheck = true | ||
input_types = ["log"] | ||
request_rate_limit_duration_secs = 1 | ||
request_rate_limit_num =5 | ||
request_retry_attempts = 5 | ||
request_retry_backoff_secs = 1 | ||
request_in_flight_limit = 5 | ||
request_timeout_secs = 30 | ||
service_limits_short_link = "aws_kinesis_firehose_service_limits" | ||
service_provider = "Amazon" | ||
write_to_description = "[Amazon Web Service's Kinesis Data Firehose][urls.aws_kinesis_data_firehose] via the [`PutRecordBatch` API endpoint](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html)" | ||
|
||
[sinks.aws_kinesis_firehose.options.region] | ||
type = "string" | ||
common = true | ||
examples = ["us-east-1"] | ||
null = false | ||
description = "The [AWS region][urls.aws_cw_logs_regions] of the target Kinesis Firehose delivery stream resides." | ||
|
||
[sinks.aws_kinesis_firehose.options.stream_name] | ||
type = "string" | ||
common = true | ||
examples = ["my-stream"] | ||
null = false | ||
description = "The [stream name][urls.aws_cw_logs_stream_name] of the target Kinesis Firehose delivery stream." | ||
|
||
[[sinks.aws_kinesis_firehose.output.examples]] | ||
label = "Generic" | ||
output.type = "http" | ||
output.body = """\ | ||
POST / HTTP/1.1 | ||
Host: firehose.<region>.<domain> | ||
Content-Length: <byte_size> | ||
Content-Type: application/x-amz-json-1.1 | ||
Connection: Keep-Alive | ||
X-Amz-Target: Firehose_20150804.PutRecordBatch | ||
{ | ||
"DeliveryStreamName": "<stream_name>", | ||
"Records": [ | ||
{ | ||
"Data": "<base64_encoded_log>", | ||
}, | ||
{ | ||
"Data": "<base64_encoded_log>", | ||
}, | ||
{ | ||
"Data": "<base64_encoded_log>", | ||
}, | ||
] | ||
}\ | ||
""" |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.