This appendix describes the structure of the event log when it is exported in XML format.
XML document format after event log export:
- Namespace: http://v8.1c.ru/eventLog
- Namespace prefix (default): v8e.
EventLog
The root element of the document. Contains the events of the log (Event elements).
Event
Contains elements that describe the log event.
Level
Type: Event level enumeration. Event level value.
Date
Type: DateTime. Event date and time value.
Application
Type: String. Name of the application in which the event occurred.
ApplicationPresentation
Type: String. Presentation of the application in which the event occurred.
EventName
Type: String. Name of the event.
EventPresentation
Type: String. Presentation of the event.
UserID
Type: UUID. ID of the user who initiated the event.
UserName
Type: String. Name of the user who initiated the event.
MetadataName
Type: String. Compound name in the English version of the term and with the metadata names. For events that include a list of metadata (data access events), it contains a list of Item items, each of which contains the name of the metadata object.
MetadataPresentation
Type: String. Representation of the metadata object in the language of user (synonyms). For events that include a list of metadata (data access events), it contains a list of Item items, each of which contains the presentation of the metadata object.
Comment
Type: String. Comment to the event.
Data
Type: Any. Event data. If the data type cannot be represented as XML, the Undefined value is written (a blank item with the xsi:nil = "true" attribute).
It may contain structures, arrays, and tables (for data access events, authentication and operation with infobase users).
DataPresentation
Type: String. Presentation of the event data.
TransactionStatus
Type: Transaction status for the event. The transaction status can take the following values:
- InProgress ‑ transaction not finished;
- Committed ‑ transaction not finished;
- RolledBack ‑ transaction cancelled;
- NotApplicable ‑ record is performed outside the transaction.
TransactionID
Type: String. Transaction ID.
Connection
Type: Number. Connection number.
Session
Type: Number. Session number.
ServerName
Type: String. Working server name.
Port
Type: Number. Main IP port.
SyncPort
Type: Number. Auxiliary IP port.
SessionDataSeparation
Contains a collection of elements that describe the separators used in the session during the event logging. The element name corresponds to the separator name, the element value contains the separator value.
SessionDataSeparationPresentation
Contains a collection of Item elements with values of the String type, which contain the separator presentations in the same order as in the SessionDataSeparation item.