AWS Kinesis Stream
This module allows CrowdSec
to acquire logs from a Kinesis stream.
Configuration example
To monitor a stream:
source: kinesis
stream_name: my-stream
labels:
type: mytype
To monitor a stream using the enhanced fan-out API:
source: kinesis
stream_arn: "arn:aws:kinesis:region:000000000000:stream/my-stream"
use_enhanced_fanout: true
consumer_name: crowdsec-agent
labels:
type: mytype
info
If your stream is written to by a Cloudwatch subscription filter, you will need to pass the from_subscription
parameter, or crowdsec won't be able to parse the content of the message.
Look at the configuration parameters
to view all supported options.
Parameters
stream_name
The name of the kinesis stream you want to read logs from.
Required when use_enhanced_fanout
is false
.
stream_arn
The ARN of the kinesis stream you want to read logs from.
Required when use_enhanced_fanout
is true