Session Log Output Format
The unblu on-premise server logs information about sessions to the filesystem. The log file contains detailed information about the sessions and uses a JSON format. Sessions are written to the log when they are terminated. For session logs to enabled, a log output directory must be configured (see com.unblu.logging.outputDirectory). The session log can be enabled/disabled by configuration (see com.unblu.logging.sessionLogEnabled).
2. Log file format
For every session a single line id written to the session log. Every line consists of a prolog (date, time and session id) and the JSON string holding the details about the session.
The sections below describe the data types that are used in the JSON format. SessionStatisticEntry is the main data type that represents a session.
Main data type, represents a session.
Name of the participant who terminated the session
Message additionally set upon session termination.
Unique id of the SessionStatisticsEntry
Unique id of the account to which this entry belongs.
User id of the creator of the session.
Type of Account.
DateTime when a co-browsing session has been started.
DateTime when a co-browsing session has been terminated.
User id of the participant who terminated the session.
Can be a system id if it was terminated by timeout.
Whether the session has been terminated by the creator, the guest
or a timeout.
Array of ParticipationStatisticEntry objects.
Array of WindowStatisticEntry objects.
Array of ChatProtocolStatisticEntry objects (always empty if chat is disabled).
Represents a user participating in the session.
Name of participant
Client ip of the participant if available.
Runtime System information from the participants client.
Unique id of the ParticipationStatisticEntry.
User id of the participant.
Type of the participant. Can be either OWNER or GUEST.
DateTime when the participant joined the session.
DateTime when the participant left the session
Additional information about the participant.
Array NavigationControlPeriodStatisticEntry objects.
Represents a time span a particular participation was in control of the session.
Unique id of the NavigationControlPeriodStatisticEntry.
DateTime when the pariticpant acquired the navigation control.
DateTime when the participant released the navigation control.
Represents a browser window within the co-browsing session.
Unique id of the WindowStatisticEntry.
User id of the participant who opened the browsing window (i.e. tab).
DateTime when the browsing window has been opened.
DateTime when the browsing window has been closed.
Array PageImpressionStatisticEntry objects.
Represents a page impression within a browser window.
|url||Url of the navigated page.|
|id||Unique id of the PageImpressionStatisticEntry.|
|start||DateTime when page view started.|
|end||DateTime when page view ended.|
Represents a chat message.
|Current number of message.|
|sender_name||Name of the sender of the chat message.|
|message||Message text sent.|
|id||Unique id of the ChatProtocolStatisticEntry.|
|sender_id||User id of message sender.|
|time||Timestamp when the message has been sent.|
7. Further Reading
General information about logging Unblu Server Logging