Knowing where and when the cyberattacks from are important for early detection and prevention also.
Hacker usually do scouting work and interact with the network before launch a full attack.
Furthermore, an cyberattack causing damages like ransomware, stealing data or spying will take days.
Early detection can limit the damage.