Step 1: Login to the cPanel account.
Step 2: Click on cPanel > Metrics section > Raw Access menu.
Step 3: In the Configure Logs section, you can set up cPanel to automatically archive and remove the logs.
Make the necessary changes and click on Save to apply them.
Step 4: The Download Current Raw Access Logs option allows downloading the corresponding log for certain domains.
Step 5: To download the archived log file, simply click on the domain in question.
Step 6: Once downloaded, extract the file locally and view it using any text editor.
Step 7: Each line begins with the identity of the agent that visited your website (generally, an IP address is recorded).