I want to have a setup to monitor the ec2 state changes from stopped to running and viceversa , I know way to get alerts from AWS EventBridge to slack/mail for every state changes.
Is there any way to actualy add these state changes in a database or csv file , so that we will get a file on the state changes by month end.