Adding fields with the AUTOTAG action
With the AUTOTAG action you can create policies that automatically add fields either to a specified set of documents or to all the documents in the system.
Two methods are available for adding new fields. One method is to add fields that contain initial values. The other method is to add fields that contain values that are extracted from existing fields of the same document. The following topics describe these two methods.
For more information about creating a policy, see the topic /policyengine/v1/policies -d '<data>': POST.