1 min read
Enabling Azure Network Security Group (NSG) flow logging in bulk
As we speak one of my customers is looking into using Azure Network Watcher for its network auditing and packet logging capabilities. Network...
1 min read
Alexandre Verkinderen : Dec 7, 2023 9:32:00 PM
This is the curious case of an Azure Application Gateway showing no metrics and logs at all. Even thought this was one of the main customer’s production Application Gateways we could see 0 requests in the metrics. Which was strange as behind the Application Gateway was an online webshop which served thousands of customers every day.
These metrics should show up regardless if you have log analytics configured or not. Our diagnostic logs are automatically configured based on this Azure Policy written by Tao. We double checked the diagnostics settings were enabled, which was the case, but still no logs were stored in Log Analytics:
I logged a ticket and the Azure support team came back after a few days saying that the issue is due to some custom SSL Policy on the Azure Application Gateway. The customer did change the default SSL settings and was using the following custom SSL settings:
"SSLPolicy": { "CipherSuites": [ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", "TLS_RSA_WITH_AES_128_GCM_SHA256" ],
In order to make the logs and metrics work, we had to add 2 more cypher suites :
The reason for this is that the Azure Application Gateway V1 writes logs to a storage account in the backend. This storage account requires certain Cypher Suites to be enabled in order to be able to store the logs and metrics to that storage account. The following 3 cypher suites mentioned below must be enabled:
So make sure you have at least the 3 cypher enabled as seen in this picture.
Don’t mess with the SSL settings :smiley:.
A few seconds after adding the 2 missing cypher suites the metrics and logs started to show up.
Hope this helps,
Alex
1 min read
As we speak one of my customers is looking into using Azure Network Watcher for its network auditing and packet logging capabilities. Network...
3 min read
By default, when you deploy a new Azure WebApp, Function app or API app it will be publicly available to the internet. For the current customer I’m...
2 min read
Lately I had to setup Azure Archive storage for one of my customers. Azure Archive Storage was launched in 2017 and recently Microsoft announced a...