# Azure blob Storage file input plugin for Embulk [Embulk](http://www.embulk.org/) file input plugin read files stored on [Microsoft Azure](https://azure.microsoft.com/) [blob Storage](https://azure.microsoft.com/en-us/documentation/articles/storage-introduction/#blob-storage) ## Overview * **Plugin type**: file input * **Resume supported**: no * **Cleanup supported**: yes ## Configuration First, create Azure [Storage Account](https://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/). - **account_name**: storage account name (string, required) - **account_key**: primary access key (string, required) - **container**: container name data stored (string, required) - **path_prefix**: prefix of target keys (string, required) (string, required) ## Example ```yaml in: type: azure_blob_storage account_name: myaccount account_key: myaccount_key container: my-container path_prefix: logs/csv- ``` Example for "sample_01.csv.gz" , generated by [embulk example](https://github.com/embulk/embulk#trying-examples) ```yaml in: type: azure_blob_storage account_name: myaccount account_key: myaccount_key container: my-container path_prefix: logs/csv- decoders: - {type: gzip} parser: charset: UTF-8 newline: CRLF type: csv delimiter: ',' quote: '"' header_line: true columns: - {name: id, type: long} - {name: account, type: long} - {name: time, type: timestamp, format: '%Y-%m-%d %H:%M:%S'} - {name: purchase, type: timestamp, format: '%Y%m%d'} - {name: comment, type: string} out: {type: stdout} ``` ## Build ``` $ ./gradlew gem # -t to watch change of files and rebuild continuously ```