WL 6.2.0
The documentation for the Java client-side Analytics API gives:
public static void log(java.lang.String message,
org.json.JSONObject additionalMetadata)
but does not explain the additionalMetadata. What values can be placed here? How would they surface in the Log search?
See answer to this SO question: Worklight analytics payload
The documentation describes passing a metadata object, but in Worklight 6.2, this object does not result in searchable text on the Analytics console. The data is preserved, but not searchable. This should be fixed, according to the answer to the linked question.