FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    How to Track Entity Changes in FusionAuth Using the Audit Log API

    Scheduled Pinned Locked Moved Solved
    Frequently Asked Questions (FAQ)
    webhook webhooks lambda
    1
    2
    1
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wesley
      last edited by

      We have been exploring methods for capturing changes to Entities. We want to keep an eye on the FusionAuth log file and transmit events to AWS Cloudwatch. We could handle them using Lambda (we have reviewed FusionAuth's sample script that explains how to configure that). However, we have examined that log and found no records related to Entities. Can we modify that via configuration? Or is the only method to obtain that information to execute a daemon script that routinely polls the audit-logs API?

      W 1 Reply Last reply Reply Quote 0
      • W
        wesley @wesley
        last edited by

        Yes, you would need something on your end to poll the Audit Log to fetch changes made to the Entities. Currently. there's no way to enter a log into the system logs (fusionauth-app.log) or otherwise control what goes in there. We do have a similar example for Cloudwatch on exporting Login Records to Cloudwatch which should be helpful.

        https://fusionauth.io/docs/operate/monitor/cloudwatch

        1 Reply Last reply Reply Quote 0
        • W wesley has marked this topic as solved
        • First post
          Last post