I think I found a reasonable way to get this information written to the file system.
We can modify the minion config (on Linux I believe the default location is
/etc/salt/minion) to add:
This will result in one JSON object per line being logged. Documented here. The default output file location for this is
The JSON object has fields which we can use:
fun (the function name). In my case I want to filter for
fun = "state.apply".