sarfaraz shaikh
sarfaraz shaikh

Reputation: 55

How to get csv file from azure blob and ingest endpoint into Azure Event Hub using logic app?

I have many CSV file stored in Azure blob storage container, I need those file from azure blob storage and dump into azure event hub using azure logic app.

Scenarios:

  1. If any new CSV file is added into the storage container only that new file should be fetched from the blob and pushed to the event hub.
  2. If any old file is updated only those files and the newly added files should be fetched from the blob storage by using Azure Logic App.

Upvotes: 0

Views: 734

Answers (1)

Frank Borzage
Frank Borzage

Reputation: 6796

Please refer to my logic app:

You can use When a blob is added or modified (properties only) as trigger.

enter image description here

Then use Get blob content to get content of your blob, within for each, you need to use send event.

enter image description here

The detail of send event 2:

enter image description here

Upvotes: 1

Related Questions