How to push mobile application (android/ios) logs to AWS?

Viewed 240

This apparently is so simple question but I have been trying hard and came accross many questions and articles but none of them really answers this.

There are many ways to design the architecture after the log is ingested and transferred to AWS. We can use ES, Kinesis and other services.

My problem is how to transfer the application client logs to AWS securly, anywhere, could be S3, Lambda, Kindesis, ElasticSearch. We can surely have an endpoint exposed but that will be open. How to authenticate this to make sure malicious users don't spam our logs? what is the best way to ingest and transfer logs to AWS from mobile applicatios?

2 Answers

Creat an API that collect logs and ingest to kinesis expose it with API gateway use API keys aur authentication API to generate bearer token. In application create functionality that make API call. We did this in one of our application successfully

Related