Book a Demo Free Trial

Finding information about all blobs in a blob container without writing code

Divya Harinarayanan

Nov 25, 2021

Category: Azure Storage

In this blog post we will see how to fetch information about all the blobs in a blob container without writing a single line of code.

Problem

As you know Blob storage is optimized for storing massive amounts of unstructured data. A storage account container can store an unlimited number of blobs. There are times where would want to find out details about all the blobs in a blob container so that we can do further analysis on the properties of the blobs. The analysis could be to find the age of the blobs (when the blobs were created), when the blobs were last modified, their access tier etc.

Solution

One of the many convenient features in Cerebrata is Blob Container Inventory, which lists all blobs in a container with details. All type of Blobs like Block blob, Append Blob, Page Blob details can be fetched in a single file accordingly. Cerebrata provides the ability to export all the blob snapshots and its versions, along with the blob properties in every storage container as a CSV file in a specified designated local system folder as per your convenience.

To access the Blob Container Inventory, navigate to the context menu (“…”) of the desired Storage blob container node > Blob Container Inventory.

Azure Storage blob inventory

 

Customize Export Properties

Blobs in Azure Storage have many system-defined properties and you may not be interested in exporting all those properties. You can customize the operation by specifying what properties of a blob you want to export. Furthermore, you can instruct Cerebrata to include blob snapshots and blob versions in the export as well.

Customize Export Properties

Easy to Locate and Manage exported File

Cerebrata saves your time efficiently with the file naming conventions, where the file gets saved automatically with the storage account name followed by the Blob Container name, which is very useful to find the exact exported blob container Inventory files to work on.

Manage exported File

Track the Operation Status

The progress of this operation can be tracked via background tasks along with the detailed logs collected and “Open file” option to access the downloaded file at ease. To access the downloaded CSV file quickly, navigate to Background Task in the left bottom corner > Completed Task > Open File.

Track the Operation Status

When the Open File icon is doubled clicked then you can see the Task information pop up which contains the details of Type, Source(s), Folder destination along with Start and End date/time.

Azure Storage blob inventory