Filebeat initializing error for s3

I am trying to follow as explained in the elastic blog

And getting error:

2021-04-03T01:04:23.845Z	ERROR	instance/beat.go:971	Exiting: Failed to start crawler: starting input failed: Error while initializing input: Error creating input. No such input type exist: 's3'
Exiting: Failed to start crawler: starting input failed: Error while initializing input: Error creating input. No such input type exist: 's3'
[centos@ip-10.10.6.8 filebeat-7.12.0-linux-x86_64]$

What would be the reason for this. Any pointers.

The input name was changed to aws-s3 around the release of 7.10

after reading i see it it should be aws-s3 Giving it a try.

thanks @legoguy1000

I see access denied, will work on that.
2021-04-03T13:45:04.022Z ERROR [input.aws-s3] awss3/collector.go:101 SQS ReceiveMessageRequest failed: AccessDenied: Access to the resource https://sqs.us-east-1.amazonaws.com/ is denied.

status code: 403, request id: 4d205118-6b7e-545d-96f0-09fa18e103cd {"queue_url": "https://sqs.us-east-1.amazonaws.com/12345678901/log-queue-dev", "region": "us-east-1"}

only deviation, Did not pass credential_profile_name: as it is in the same region. and is optional as per documentation.

Glad I could help.