Hi, I’m Nicole, I’ll be happy to help you out today.
Event ID 5061 and 5058 are both related to the Windows Firewall service. Event ID 5061 is generated when the Windows Firewall service starts or stops, and Event ID 5058 is generated when the Windows Firewall service is configured.
These events are logged every 5 seconds because the Windows Firewall service is checking its configuration every 5 seconds to ensure that it is properly configured and running. This is normal behavior for the Windows Firewall service.
You can verify the configuration of your Windows Firewall service by going to the Control Panel and clicking on the Windows Firewall icon. From there, you can view the current firewall rules and settings.
It's also worth to check your software security solutions you have installed, these messages could be caused by a third-party firewall, or check if there is any scheduled task or script that could be causing this log.
Kindly regards,