How to create metrics on static website pages in Azure by CLI

74 views Asked by At

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.

  1. 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.
  2. 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?

1

There are 1 answers

0
Doris Lv On BEST ANSWER

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.