AWS CloudWatch metric CPUUtilization plots the percentage of allocated EC2 compute units that are currently in use on the instance. This metric identifies the processing power required to run an application on a selected instance. Hence if you are seeing high CPU use percentage that means your application is consuming more CPU cycles and typically not because of the old logs in your instance.
If you are using Windows instance, You can use Task Manager inside the Windows Operating system to see the processes that are using the CPU the most. If necessary, you can also use Performance Monitor or Process Explorer to deep dive the processes that are causing high CPU utilization . For Linux instances this can bee checked using OS performance monitoring tools such top/sar/atop 
Also please note that, depending on the instance type, tools in your operating system can show a different percentage than CloudWatch when the instance is not allocated a full processor core. If you are using burstable performance instances you might need to check whether you have sufficient CPU credits available for your instance .
Please see below links for additional information.
CPU Credit Usage and CPU Credit Balance metrics missing in T3aasked 3 years ago
How to check the cause of high ec2 CPU usage triggered by cloud-watch-agent
CPU + memory usage missing from SM Studio notebook toolbarAccepted Answerasked 4 months ago
How to monitor RAM memory usage of an EC2 Ubuntu instanceAccepted Answerasked 9 months ago
How to calculate the number of hours covered by EC2 Instance Savings PlansAccepted Answerasked 7 days ago
Cloud-watch-agent High CPU usage.asked a month ago
Kafka Monitoring Dashboard question - CPU Usage by Brokerasked 3 years ago
EC2 CPU Usage 100%Accepted Answerasked 8 months ago
High CPU Utilization with Cloud-Watch-Agent
Root cause for AWS EC2 disconnection.asked a month ago