# Azure Blob Storage

[Azure Blob Storage](https://azure.microsoft.com/en-us/products/storage/blobs) is Azure’s object storage service. Tenzir can treat it like a local filesystem to read and write files.

## Examples

Use [`from_azure_blob_storage`](https://preview.docs.tenzir.com/375/375/reference/operators/from_azure_blob_storage.md) to read files from Azure Blob Storage. It supports glob patterns and automatic format detection. For writing, use [`to_azure_blob_storage`](https://preview.docs.tenzir.com/375/375/reference/operators/to_azure_blob_storage.md) with a print operator.

### Read events from a file in a container

```tql
from_azure_blob_storage "abfs://container/path/to/file.json"
```

### Read all JSON files from a container

```tql
from_azure_blob_storage "abfs://container/logs/**.json"
```

### Write an event to a file in a container

```tql
from {foo: 42}
print_json
to_azure_blob_storage "abfs://container/path/to/file.json"
```

## Contents

- [Azure-event-hubs](https://preview.docs.tenzir.com/375/integrations/microsoft/azure-event-hubs.md)
- [Defender](https://preview.docs.tenzir.com/375/integrations/microsoft/defender.md)
- [Graph](https://preview.docs.tenzir.com/375/integrations/microsoft/graph.md)
- [Sql-server](https://preview.docs.tenzir.com/375/integrations/microsoft/sql-server.md)
- [Sentinel-log-analytics](https://preview.docs.tenzir.com/375/integrations/microsoft/sentinel-log-analytics.md)
- [Windows-event-logs](https://preview.docs.tenzir.com/375/integrations/microsoft/windows-event-logs.md)