Documentation Center

agg_store

Store audit records on the aggregation server.

Description

This function stores the (HTTP POST) audit data records into the "aggregate" area of the audit collection in the eXist db.

Parameters

action
agg_store

Example URL

http://<host>:<port>/<context>/web/audit.xql?action=agg_store

Successful Result

<agg_store> XML element with one <stored> element for each stored audit data record.

Failed Result

In the case of an error, this function returns a standard API result element with a non-zero statusCode (such as, <result status='FAIL' statusCode='200' message='Localized Failure Message' messageKey='message.key'/>). Refer to API Error Code Reference.