简体   繁体   English

Azure 数据工厂管道日志

[英]Azure Data Factory Pipeline Logs

Where does data logs of Azure Pipeline v2 gets stored, I would like to retrieve data of failed pipelines for specific date.( Dont want to use azure portal to view these data). Azure Pipeline v2 的数据日志存储在哪里,我想检索特定日期的失败管道的数据。(不想使用 azure 门户查看这些数据)。 Is there any table/view holds such datalogs from database.是否有任何表/视图保存来自数据库的此类数据日志。

据我所知,要获取诊断日志,您可以使用Azure MonitorOperations Management Suite (OMS)直观地监视这些管道。

By Azure Pipeline v2, you mean Azure Data Factory v2. Azure Pipeline v2 是指 Azure 数据工厂 v2。 Alert and Monitor data factories using Azure Monitor 使用 Azure Monitor 警报和监视数据工厂

Diagnostic logs: 诊断日志:

  • Save them to a Storage Account for auditing or manual inspection.将它们保存到存储帐户以供审核或手动检查。 You can specify the retention time (in days) using the diagnostic settings.您可以使用诊断设置指定保留时间(以天为单位)。
  • Stream them to Event Hubs for ingestion by a third-party service or custom analytics solution such as PowerBI.将它们流式传输到事件中心以供第三方服务或自定义分析解决方案(例如 PowerBI)摄取。
  • Analyze them with Log Analytics使用 Log Analytics 分析它们

The logs are stored on Azure Data Factory web server for 45 days.日志在 Azure 数据工厂 Web 服务器上存储 45 天。 If you want to get the pipeline run and activity run metadata, you can use Azure Data Factory SDK to extract the information you need and save it somewhere you want.如果要获取管道运行和活动运行元数据,可以使用 Azure 数据工厂 SDK 提取所需信息并将其保存在所需位置。

Recommended approach on this for log term analysis as well as limiting access to a production data factory would be to configure logs to be sent to log analytics.对于日志术语分析以及限制对生产数据工厂的访问,推荐的方法是配置要发送到日志分析的日志。 Be sure to enable dedicated logging tables as this will help on the backend in terms of organizing your logs.请务必启用专用日志表,因为这将有助于后端组织日志。

From there you can also set up alerts and access groups running off of log analytics queries for better monitoring.您还可以从那里设置警报和访问组,运行日志分析查询以进行更好的监控。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM