how to check SQL database logs for particular tables

Deshmukh, Vijit 516 Reputation points
2023-07-20T15:11:50.63+00:00

Hi Team,

We are using azure SQL database for our web application.

We want to see the logs for the few particular tables from the database.

I tried logs under the Monitoring > Logs.

But didn't found the results

Kindly guide on this.

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2023-07-20T17:19:00.3333333+00:00

    @Deshmukh, Vijit Thank you for reaching out.

    My understanding is that you are trying to see logs for a few particular tables in your Azure SQL Database.

    To view logs for specific tables in an Azure SQL Database, you can use the Azure SQL Database auditing feature. The auditing feature allows you to track database events and write them to an audit log in Azure Storage or Event Hubs.

    1. Auditing for Azure SQL Database and Azure Synapse Analytics
    2. Set up Auditing for Azure SQL Database and Azure Synapse Analytics
    3. Use Auditing to analyze audit logs and reports

    Please let me know if the answer helped you. If not, please comment below if any additional questions or further clarification.

    Regards,

    Oury


Your answer

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