I have a website which answers questions asked (often by young kids), this website is by the government to educate kids ans spread awareness.
Sometimes these kids asks questions which is life threatening for them or may be for others, in such cases we have a mandate to report to the police with user’s home IP address and port number (NAT ports) so that police can prevent such events from happening.
We have a static website made in Gatsby which is accessed via azure CDN. This Gatsby website makes request to backend APIs (C#, hosted in azure APIM), which is where I want to have client port number. I can see the port number I need in azure CDN logs (as ‘clientPort_d’) but azure CDN has a latency of 1 hour between the request arrival and log written.
Is there any way to get the client port faster that this? What other azure resources we can use (application gateway)?