{"id":13872,"date":"2020-07-28T10:58:15","date_gmt":"2020-07-28T10:58:15","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=13872"},"modified":"2022-04-06T08:18:36","modified_gmt":"2022-04-06T08:18:36","slug":"verifying-the-levels-and-storage-locations-for-logs","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/","title":{"rendered":"Verifying the levels and storage locations for logs"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-304-microsoft-azure-architect-design\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to AZ-304 Tutorials<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>AZ-304 exam is retired. \u00a0<a href=\"https:\/\/www.testpreptraining.ai\/designing-microsoft-azure-infrastructure-solutions-az-305\" target=\"_blank\" rel=\"noreferrer noopener\">AZ-305<\/a>\u00a0replacement is available.<\/strong><\/h2>\n\n\n\n<p>In this, we will learn and understand about the process of verifying the logs and how the logs are stored. So, let\u2019s start learning about this.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Verifying logs<\/strong><\/h4>\n\n\n\n<p>In this, you can command Azure Storage to save diagnostics logs for reading, writing, and deleting requests. This works for the blob, table, and queue services. Moreover, the data retention policy you set also applies to these logs.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Configuring log process<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, in the Azure portal, select Storage accounts. Then select the name of the storage account to open the storage account blade.<\/li><li>After that, select Diagnostics settings (classic) in the Monitoring (classic) section of the menu blade.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/az304-logs.png\" alt=\"Verifying logs process\" class=\"wp-image-13873\" width=\"255\" height=\"250\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Then, make sure that the Status is On. And, select the services for which you&#8217;d like to enable logging.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/az304-logs-1.png\" alt=\"Verifying logs process\" class=\"wp-image-13874\" width=\"580\" height=\"676\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/az304-logs-1.png 691w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/az304-logs-1-343x400.png 343w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Lastly, click Save.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-architect-design-az-304-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"150\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ-304-practice-tests.png\" alt=\"AZ-304 practice tests\" class=\"wp-image-18131\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ-304-practice-tests.png 961w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ-304-practice-tests-750x117.png 750w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The diagnostics logs are saved in a blob container with name $logs in your storage account. However, you can view the log data using Microsoft Storage Explorer, or using the storage client library or PowerShell.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Process of Storing Logs<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>All logs storage is in block blobs in a container that is $logs. However, it creates when storage analytics is set on for a storage account. The $logs container is located in the blob namespace of the storage account.<\/li><li>You should know that you cannot delete the container after enabling the Storage Analytics. But its contents can be deleted. However, if you use your storage-browsing tool to navigate to the container directly, you will see all the blobs that contain your logging data.<\/li><li>After logging the requests, Storage Analytics will upload intermediate results as blocks. Similarly, Storage Analytics will commit these blocks and make them available as a blob. But, it can take up to an hour for log data to appear in the blobs in the $logs container because the frequency at which the storage service flushes the log writers.&nbsp;<\/li><li>However, if you have a high volume of log data with multiple files for each hour, then you can use the blob metadata. This is for determining what data the log contains by examining the blob metadata fields. Moreover, it is useful for delays handling during the process in which data is written to the log files.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-architect-design-az-304-practice-exam\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"150\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/Az-304-online-course-6.png\" alt=\"AZ_304 exam online course\" class=\"wp-image-13875\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/Az-304-online-course-6.png 961w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/Az-304-online-course-6-750x117.png 750w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/a><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference: <\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/storage\/common\/storage-monitor-storage-account#configure-logging\" target=\"_blank\">Microsoft Documentation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-304-microsoft-azure-architect-design\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to AZ-304 Tutorials<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go back to AZ-304 Tutorials AZ-304 exam is retired. \u00a0AZ-305\u00a0replacement is available. In this, we will learn and understand about the process of verifying the logs and how the logs are stored. So, let\u2019s start learning about this. Verifying logs In this, you can command Azure Storage to save diagnostics logs for reading, writing, and&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-13872","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Verifying the levels and storage locations for logs - | Microsoft AZ-304<\/title>\n<meta name=\"description\" content=\"Upgrade your knowledge and skills by learning about verifying logs cocnepts using Microsoft Azure AZ-304 online course and practice exam Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Verifying the levels and storage locations for logs - | Microsoft AZ-304\" \/>\n<meta property=\"og:description\" content=\"Upgrade your knowledge and skills by learning about verifying logs cocnepts using Microsoft Azure AZ-304 online course and practice exam Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-06T08:18:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/az304-logs.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/\",\"name\":\"Verifying the levels and storage locations for logs - | Microsoft AZ-304\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-07-28T10:58:15+00:00\",\"dateModified\":\"2022-04-06T08:18:36+00:00\",\"description\":\"Upgrade your knowledge and skills by learning about verifying logs cocnepts using Microsoft Azure AZ-304 online course and practice exam Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Verifying the levels and storage locations for logs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Verifying the levels and storage locations for logs - | Microsoft AZ-304","description":"Upgrade your knowledge and skills by learning about verifying logs cocnepts using Microsoft Azure AZ-304 online course and practice exam Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/","og_locale":"en_US","og_type":"article","og_title":"Verifying the levels and storage locations for logs - | Microsoft AZ-304","og_description":"Upgrade your knowledge and skills by learning about verifying logs cocnepts using Microsoft Azure AZ-304 online course and practice exam Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-04-06T08:18:36+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/az304-logs.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/","name":"Verifying the levels and storage locations for logs - | Microsoft AZ-304","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-07-28T10:58:15+00:00","dateModified":"2022-04-06T08:18:36+00:00","description":"Upgrade your knowledge and skills by learning about verifying logs cocnepts using Microsoft Azure AZ-304 online course and practice exam Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/verifying-the-levels-and-storage-locations-for-logs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Verifying the levels and storage locations for logs"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=13872"}],"version-history":[{"count":6,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13872\/revisions"}],"predecessor-version":[{"id":54197,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13872\/revisions\/54197"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=13872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=13872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=13872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}