Can we join join Datafactory and Azure Synapse tables for KQL in log Analytics?

Harish Kumar 66 Reputation points Microsoft Employee
2022-10-07T04:34:11.087+00:00

Hello Team,
We have requirement that customer want to join Data factory and Azure Synapse table in for KQL in Log Analytics, for example we have ADFActivityRun table and SynapseSQLpoolSqlRequest table, is it possible to join these two tables and get the results.
I have the attached screen images of data factory and Azure synapse.
248354-synapse.png

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,356 Reputation points Microsoft Employee Moderator
    2022-10-10T19:45:07.387+00:00

    Hello @Harish Kumar ,

    Welcome to the MS Q&A platform.

    If your synapse and ADF are connected to the same log analytics workspace, then you can join ADFActivityRun table and SynapseSQLpoolSqlRequest table on common columns.

    Please make sure to query from the log analytics solution. If you try to use either synapse or ADF logs directly, you won't see all tables from there.

    I hope this helps.

    In the below screenshot, you can see the common columns between these two tables.

    249088-image.png

    ex: querying from ADF, you won't see SynapseSQLpoolSqlRequest table.

    249029-image.png

    ------------------------------

    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.