Extract a streamname value and replace in kinesis stream_name - extraction didn't works out- Need suggestion #4665
ak-gamer86
started this conversation in
General
Replies: 1 comment
-
Fluentd experts, any suggestion on this clarification would help unblock me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks,'m trying to achieve to send the syslog logs to splunk as well to kinesis from fluentd using . when the fluentd receives a syslog logs, I do not want to send the whole logs as such to kinesis, hence I'm trying to do below stuffs when sending to kinesis alone.
Here the kinesis streamname where I want to push the data is part in final record, problem I face is partition key which is available in tat content is successfully substituted for partition_key under @type kinesis_streams where as the stream_name is not getting substituted. kindly see my configuration
Here as we can see in data "kinesisStream"=>"my_test_stream", "partitionKey"=>"my_test_partition", - my_test_stream value is not getting substituted to stream_name while send transformed content to Kinesis.
where as partitionKey value (my_test_partition) in data is properly getting substituted- this I have confirmed by hard coding the stream name and verified the partition name used in kinesis. During this verification when hardcoding streamname in fluentd, "my_test_partition" value is considered properly for partition_key.
If partition_key is able to properly gets considered & substituted ,not sure why stream name is not considered, so I end up with issue Aws::Kinesis::Errors::ResourceNotFoundException error="Stream kinesisStream under account 3040876341599 not found.".
Please suggest what's the issue with stream name substitution under <match syslog....> @type kinesis_streams ?
Beta Was this translation helpful? Give feedback.
All reactions