Windows defender firewall log

I am checking https://docs.rs/windows_firewall/latest/windows_firewall/. And my goal is to write/append in the windows defender firewall logs.

For example, when i run my app the logs have info like this
2025-09-15 14:03:29 DROP TCP 192.168.100.10 12.123.122.219 50134 21116 0 - 0 0 0 - - - SEND 20776

I want to add the log like connection through udp failed from my app. How do i do this?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.