{"id":5302,"date":"2020-07-01T14:57:31","date_gmt":"2020-07-01T05:57:31","guid":{"rendered":"https:\/\/www.syuheiuda.com\/?p=5302"},"modified":"2020-07-01T14:57:31","modified_gmt":"2020-07-01T05:57:31","slug":"expressroute-%e5%9b%9e%e7%b7%9a%e3%81%ae%e8%bb%a2%e9%80%81%e9%87%8f%e3%81%ae%e7%ae%97%e5%87%ba%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.syuheiuda.com\/?p=5302","title":{"rendered":"ExpressRoute \u56de\u7dda\u306e\u8ee2\u9001\u91cf\u306e\u7b97\u51fa\u65b9\u6cd5"},"content":{"rendered":"\n<p>ExpressRoute \u306e\u76f4\u8fd1 1 \u65e5\u3068\u304b 1 \u9031\u9593\u306e\u901a\u4fe1\u91cf\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001NPM \u3092\u6709\u52b9\u5316\u3057\u3066 Log Analytics \u306e\u30af\u30a8\u30ea\u3092\u4f7f\u3046\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p>NPM \u3092\u6709\u52b9\u5316\u3057\u3066\u3044\u306a\u3044\u65b9\u306f\u3001\u307e\u305a\u4ee5\u4e0b\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u901a\u308a\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<ul><li>ExpressRoute \u306b\u4f7f\u7528\u3059\u308b Network Performance Monitor \u306e\u69cb\u6210<br><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/expressroute\/how-to-npm\">https:\/\/docs.microsoft.com\/ja-jp\/azure\/expressroute\/how-to-npm<\/a><\/li><\/ul>\n\n\n\n<p>NPM\u3092\u6709\u52b9\u5316\u3057\u3066 ExpressRoute \u56de\u7dda\u306e\u76e3\u8996\u3092\u6709\u52b9\u5316\u3057\u3066\u304a\u304f\u3068\u3001Log Analytics \u306e [Network Performance Monitor] &#8211; [NetworkMonitoring] \u3068\u3044\u3046\u30c6\u30fc\u30d6\u30eb\u306b\u30ed\u30b0\u304c\u8a18\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u30af\u30a8\u30ea\u3067\u671f\u9593\u5185\u306e\u5024\u3092\u5408\u7b97\u3059\u308b\u3053\u3068\u3067\u8ee2\u9001\u91cf\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002Log Analytics \u306e\u753b\u9762\u4e0a\u90e8\u3067\u5bfe\u8c61\u3068\u306a\u308b\u671f\u9593 (\u6642\u9593\u306e\u7bc4\u56f2) \u3092\u6307\u5b9a\u3057\u3001\u30af\u30a8\u30ea\u5185\u306e\u30ea\u30bd\u30fc\u30b9 URI \u306e\u7b87\u6240\u3060\u3051\u9069\u5b9c\u5909\u3048\u3066\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1.png\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"257\" src=\"https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-1024x257.png\" alt=\"\" class=\"wp-image-5305\" srcset=\"https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-1024x257.png 1024w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-300x75.png 300w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-768x193.png 768w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-1536x386.png 1536w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-560x141.png 560w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-260x65.png 260w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1-160x40.png 160w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM1.png 1651w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>(\u9001\u53d7\u4fe1)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">NetworkMonitoring<br>| where (SubType == \"ERCircuitTotalUtilization\") and CircuitResourceId == \"\/subscriptions\/&lt;Subscription ID>\/resourceGroups\/&lt;RG name>\/providers\/Microsoft.Network\/expressRouteCircuits\/&lt;ER Name>\"<br>| extend BitsTotalPerSecond = BitsInPerSecond + BitsOutPerSecond<br>| summarize sum(BitsTotalPerSecond)<\/pre>\n\n\n\n<p>(\u53d7\u4fe1\u306e\u307f)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">NetworkMonitoring<br>| where (SubType == \"ERCircuitTotalUtilization\") and CircuitResourceId == \"\/subscriptions\/&lt;Subscription ID>\/resourceGroups\/&lt;RG name>\/providers\/Microsoft.Network\/expressRouteCircuits\/&lt;ER Name>\"<br>| summarize sum(BitsInPerSecond)<\/pre>\n\n\n\n<p>(\u9001\u4fe1\u306e\u307f)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">NetworkMonitoring<br>| where (SubType == \"ERCircuitTotalUtilization\") and CircuitResourceId == \"\/subscriptions\/&lt;Subscription ID>\/resourceGroups\/&lt;RG name>\/providers\/Microsoft.Network\/expressRouteCircuits\/&lt;ER Name>\"<br>| summarize sum(BitsOutPerSecond )<\/pre>\n\n\n\n<p>\u3042\u3068\u30011 \u30f6\u6708\u5206\u3092 1 \u65e5\u5358\u4f4d\u3067\u96c6\u8a08\u3057\u305f\u3044\u7b49\u3068\u3044\u3046\u5834\u5408\u306b\u306f\u3001\u671f\u9593\u3092 1 \u30f6\u6708\u306b\u3057\u305f\u4e0a\u3067\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u30af\u30a8\u30ea\u306b\u5c11\u3057\u8db3\u3059\u3068 1 \u65e5\u5358\u4f4d\u3067\u306e\u96c6\u8a08\u306b\u3057\u305f\u308a\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> | summarize sum(BitsTotalPerSecond) by bin(TimeGenerated, 1d) <\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2.png\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"503\" src=\"https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-1024x503.png\" alt=\"\" class=\"wp-image-5306\" srcset=\"https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-1024x503.png 1024w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-300x147.png 300w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-768x377.png 768w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-1536x755.png 1536w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-560x275.png 560w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-260x128.png 260w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2-160x79.png 160w, https:\/\/blob.syuheiuda.com\/wp-content\/2020\/07\/NPM2.png 1652w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>ExpressRoute \u306e\u76f4\u8fd1 1 \u65e5\u3068\u304b 1 \u9031\u9593\u306e\u901a\u4fe1\u91cf\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.syuheiuda.com\/?p=5302\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"","_original_post":""},"categories":[42,31],"tags":[],"views":6027,"_links":{"self":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts\/5302"}],"collection":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5302"}],"version-history":[{"count":4,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts\/5302\/revisions"}],"predecessor-version":[{"id":5310,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts\/5302\/revisions\/5310"}],"wp:attachment":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}