Hi Folks,
I was wondering if you ladies/gents could help me. I'm trying to integrate Splunk for Cloudwatch to pick up message that are in an SQS. I have created and SNS and test alarms and I can see these passing the the SQS.
I have also created and AWS secret key and an access key to query the cloudwatch and edited this in the aws_sqs.py
access_key = 'blah' secret_key = 'blah' queue_name = 'splunk_cloudwatch_test_sqs'
Unfortunately I'm getting an error when I'm attempting to poll the SQS as seen in the output below.
[** bin]# ./aws_sqs.py Traceback (most recent call last): File "./aws_sqs.py", line 45, in <module> q.set_message_class(RawMessage) AttributeError: 'NoneType' object has no attribute 'set_message_class' [** bin]#
Could anyone point me in the right direction as to what I'm missing that could be causing this issue?
Regards Michael