web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can I export SysDatabaseLog table

(0) ShareShare
ReportReport
Posted on by

I would like export SysDatabaseLog table  to datalake or csv ?

Any adviser ..

thanks so much for your help

cheers

Javier

I have the same question (0)
  • MATTGUO Profile Picture
    22,349 Moderator on at

    Hello Javier,

    If you need to export Sysdatabaselog table as csv, can you access the data in Sql query and save it as the csv format?

    34327.png

    Or do you mean the database log in the path System administration > Inquiries > Database > Database Log?

    60622.png

    65576.png

    Moved the post to D365 finance forum: https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum

  • André Arnaud de Calavon Profile Picture
    301,049 Super User 2025 Season 2 on at

    Hi Javier,

    Out of the box there is no support for this. What is the purpose of exporting it? Note that the old and new data details is stored in container fields. It should be extracted per record which will be a huge performance load. Per table the fields are different. How do you envision to have different data logs for different tables exported?

    Can you explain the business purpose/requirement?

  • Community Member Profile Picture
    on at

    Hi Andre I need export the data for this reason:

    Users would like to audit who changed specific fields.  The area of logging would first be limited to PO Headers, PO Lines, and Trade Agreement Headers.

    I would like to know if we can export the data by DMF or Odata, but I don't found any enityt in both cases.

    Thanks

    Javier

  • Community Member Profile Picture
    on at

    Hi Mattguo I need export the data for this reason:

    Users would like to audit who changed specific fields.  The area of logging would first be limited to PO Headers, PO Lines, and Trade Agreement Headers.

    I would like to know if we can export the data by DMF or Odata, but I don't found any enityt in both cases.

    Thanks

    Javier

  • MATTGUO Profile Picture
    22,349 Moderator on at

    Hi Javier,

    Both DMF and Odata all depend on data entity, there is no the OOB entity to export the data, you need to custom it.

  • André Arnaud de Calavon Profile Picture
    301,049 Super User 2025 Season 2 on at

    Hi Javier,

    Like mentioned above, there is no entity and it would be cumbersome to achieve one. What would be wrong by reviewing the changes regularly within the client?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Javier,

    I don't think exporting the database log is a good practice anyway, if there is other way out you can try these 2 options :

    1. Consider refreshing your sandbox from Prod (say once a month) and access SysDatabaseLog table to make an audit report. You need to make sure you can format the data properly from "NewData" field.
    2. You can run the Database log report and set the destination to file > Microsoft Excel. Remember to include only specific records based on Table Id and Log type.
  • Suggested answer
    Rahul Mohta Profile Picture
    21,032 on at

    also could possibly simple create a simple new data entity with new security privileges and export

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans