Persisting Action Logs as Datasets

I’m having trouble understanding how the dataset generated for action logs is populated. So enable action logs for my CREATE Object action. I invoke that action to create a new record. In the action log timeline widget i see this entry and in the object explorer I see the log entry.

When i go to the dataset generated upon enabling the action log, its empty. Is this a scenario where the backing dataset is just a schema and i still need to do the materialization to actual get a populated dataset?

For the materialization does it do append only for the logs or is it like other materializations where its just the latest snapshot (i.e. i create a new object, edit it 4 times and only see the last edit in the materialization)?

Hi - thanks for the question. Yes, the backing dataset for a log object will be empty, while the materialization is where you will see a populated dataset.

Materializations in general will only retain the latest snapshot; however, the primary key for a log object is a unique identifier for a single action submission, so you will see all submissions of the action even if they were applied to the same object.

In your example, if you create an object and edit it 4 times (assuming this is the same action), the materialized dataset will show 5 action logs.

You can find the documentation for action logs here and materializations here.

1 Like