The official document instruct how to enable metrics on static website pages in Azure in the portal. The chart is able to be pinned in a dashboard there.
However, the method is not fit with my need.
- It cannot be filtered by folder or file. All transactions and egress belong to the same $web only. If there are two sub folders and I would like to view their visit counts separately, the metrics do not help.
- The portal method is not an automation method. The metric graph cannot be created by az CLI.
How can I use scripting way to create a chart or log of Storage's static website's daily visit count breakdown by folders?
Sorry for the slow reply, after searching everywhere, I figured out that it is not supported for folder, and as I said, it's not supported create a chart or log of Storage using CLI.