The action takes a JSON object as its argument. The object may contain nested fields. A JSON template may be used for dynamic fields. (The recipe has plenty examples for that.)
Usage
All name/value pairs of the object are registered for logging. When the system writes the flat_access event the registered fields are included in that log line.
You can call the action multiple times. Fields of the same name are overwritten. However, nested fields are merged into the previously registered log fields. The order of fields is maintained.