How to Log Pipeline Audit Data for Success and Failure in Azure Data Factory - ADF Tutorial 2021

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2021
  • How to Log Pipeline Audit Data for Success and Failure in Azure Data Factory - ADF Tutorial 2021, in this video we are going to learn How to Log Pipeline Audit Data for Success and Failure in Azure Data Factory - ADF Tutorial 2021, Azure Data Factory Step by Step - ADF Tutorial 2021 - ADF Tutorial 2021 Step by Step ADF Tutorial - Azure Data Factory Tutorial 2021
    Azure Data Factory Tutorial for beginners
    Azure Data Factory Tutorial 2021
    Step by step Azure Data Factory Tutorial
    Real-time Azure Data Factory Tutorial
    Scenario-based training on Azure Data Factory
    Best ADF Tutorial on youtube
    Failure
    SELECT '@{pipeline().DataFactory}' as DataFactory_Name,
    '@{pipeline().Pipeline}' as Pipeline_Name,
    '@{pipeline().RunId}' as RunId,
    'TotalSaleTable' as Source,
    'TotalSale CSV File' as Destination,
    '@{activity('CopyTotalSale').output.executionDetails[0].status}' as Execution_Status,
    '@{activity('CopyTotalSale').output.errors[0].Code}' as ErrorCode,
    '@{replace(activity('CopyTotalSale').output.errors[0].Message,'''','')}' as ErrorDescriprion,
    '@{utcnow()}' as ErrorLoggedTime
    Success
    SELECT '@{pipeline().DataFactory}' as DataFactory_Name,
    '@{pipeline().Pipeline}' as Pipeline_Name,
    '@{pipeline().RunId}' as RunId,
    'TotalSaleTable' as Source,
    'TotalSale CSV File' as Destination,
    '@{activity('CopyTotalSale').output.rowsRead}' as RowsRead,
    '@{activity('CopyTotalSale').output.rowsCopied}' as RowsCopied,
    '@{activity('CopyTotalSale').output.copyDuration}' as copyDuration,
    '@{utcnow()}' as ErrorLoggedTime
    #AzureDataFactory #ADFTutorial2021
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 12

  • @PaulLundgren1970
    @PaulLundgren1970 4 หลายเดือนก่อน

    This tutorial was very helpful and easy to follow. Thank you very much.

  • @etcindy
    @etcindy 2 ปีที่แล้ว

    Is there a way to set up the expression so that it can pass error, status and Erroredlogtime from any copy data task in the pipeline, or does each copy task have to have its own

  • @prashanthbalakrishnan4541
    @prashanthbalakrishnan4541 2 ปีที่แล้ว

    Can we use Synapse Linked services instead of Sql DB for running the query ?

  • @franciscoanalytics
    @franciscoanalytics ปีที่แล้ว

    Really interesting video. Is it possible to do the same in a pipeline with more than one activity? How would you do in that case?

  • @dpusplatha4489
    @dpusplatha4489 ปีที่แล้ว

    Can we send custom message codes to the response json in case of success?

  • @vivekvp
    @vivekvp 2 ปีที่แล้ว

    Hello - very helpful - thank you! In my case I want to log the status of a copy from from on on-premise file share to blob storage, not a database. I won't be able to write select statements as I have no DB. Suggestions or thoughts?

  • @kunalbhatia5404
    @kunalbhatia5404 2 ปีที่แล้ว

    I tried all the same steps which you showed in the video, but not succeeded. Error Message is not logging in my blob ..
    How can I get the answer or suggestion..?

  • @deepjyotimitra1340
    @deepjyotimitra1340 2 ปีที่แล้ว

    How to know who triggered the pipeline on run time?

  • @kunalbhatia5404
    @kunalbhatia5404 2 ปีที่แล้ว

    Getting Error :
    The expression 'activity('Data flow1').output.Error' cannot be evaluated because property 'Error' doesn't exist, available properties are 'runStatus, effectiveIntegrationRuntime, billingReference, reportLineageToPurview'.
    Any Solution ??

    • @lalitb20
      @lalitb20 ปีที่แล้ว

      Same error, did u get any solution?

  • @joyyoung3288
    @joyyoung3288 ปีที่แล้ว

    it is not working