Python script that produces logs observed by the Amazon Kinesis Agent
python3 kinesis-app.py
sudo yum install –y https://s3.amazonaws.com/streaming-data-agent/aws-kinesis-agent-latest.amzn1.noarch.rpm
cp agent.json /etc/aws-kinesis/agent.json
systemctl start aws-kinesis-agent
systemctl enable aws-kinesis-agent
See configuration file here