For example, when user admin cleared a task example_bash_operator, the log looks like this:
Some important fields for the event "clear" are not populated: Dag Id, Task Id. These fields would have been very helpful for troubleshooting or audit purposes.
The same problem happens for event "failed". It probably happens to many other actions too.
For POST actions, the request object looks like this. request.args is empty. request.form is what we need to find those fields. So the action_logging decorator needs to be fixed to look for request.form when the action is POST.