This repo contains sample .NET Core library for parsing Export blobs created via App Center Continuous Export.
Перейти к файлу
microsoft-github-policy-service[bot] bbb385193a
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-12 19:30:18 +00:00
export-parser Uploaded console, azure function, and streaming samples 2018-05-29 22:01:43 +03:00
export-streaming Update ExportObservable.cs 2018-08-23 12:54:51 +02:00
sample-azure-function Uploaded console, azure function, and streaming samples 2018-05-29 22:01:43 +03:00
sample-console-app Uploaded console, azure function, and streaming samples 2018-05-29 22:01:43 +03:00
.gitignore Uploaded console, azure function, and streaming samples 2018-05-29 22:01:43 +03:00
LICENSE Initial commit 2018-05-24 10:19:13 -07:00
README.md Uploaded console, azure function, and streaming samples 2018-05-29 22:01:43 +03:00
SECURITY.md Microsoft mandatory file 2023-06-02 19:05:46 +00:00
export-parser.sln Uploaded console, azure function, and streaming samples 2018-05-29 22:01:43 +03:00

README.md

App Center Export Parser

This repo contains sample .NET Core library for parsing Export blobs created via App Center Continuous Export.

Sample 1 - Console App to forward logs for specific users to their account

This sample is located under sample-console-app. The console app can be used to selectively forward logs from one storage account to another. This can be useful for satisfying one of GDPR export requests.

To build the sample:

dotnet build export-parser.sln

To run the sample:

sample-console-app.exe <installId> <blob storage connection string where export is pointing to> <blob storage connection string where filtered data will go> <output container name>

Note: since the sample downloads each export blob to a local machine, it will be singnificantly faster if the code was executed on Azure VM in the same data center as the storage account.

Sample 2 - Azure Function to forward logs for specific users to their account

This sample is located under sample-azure-function. This Azure Function is similar to the console app sample, however is can be used to selectively forward logs on an ongoing basis.

To build the sample:

dotnet build export-parser.sln

To deploy the function refer to this article.

Sample 3 - Continuously stream export data

This sample shows how to continuously stream data from your export Azure storage container to Event Hubs and to another Azure storage container. This sample is located under export-streaming. This sample is a console application that creates an observable that parses exported data, and multicasts the observable data into both an Event Hub and an Azure storage container.

To build the sample:

dotnet build export-streaming.sln