Logging connections to hardcoded IP addresses

On a Windows system, I’m able to get a good idea of most outgoing traffic by enabling DNS query logging, but I am missing those connections that are made straight to hardcoded IP addresses. What would be effective ways of specifically logging those connections?

The purpose is to get a clear picture of all outgoing traffic.