See subversion log for revision information: https://redmine.dataone.org/projects/d1/repository/changes/documents/Projects/cicore/architecture/api-documentation/source/design/logging.txt
This schema for logging documents specifies the information returned by DataONE when requests for logs have been made from either Coordinating Nodes or Member Nodes. The log information is maintained dynamically by both the Coordinating Nodes and Member Nodes whenever a significant event occurs for a tracked object in the system. Tracked objects include all data objects and science metadata objects in the system. Events of significance include the insertion, update, deletion, or reading of these objects.
Log data are considered operational information needed to run DataONE, and can be read by all Coordinating Nodes in the course of service provision. In order to reduce issues with third-party tracking of data status information, users can read log information for an object if they have the access rights to read the corresponding object on which the event was logged.
The following list of fields represents the set of information returned upon a request for logging.
Group |
Field |
Type |
Cardinality |
---|---|---|---|
Log |
|||
|
1 |
||
|
1 |
||
String |
1 |
||
String |
1 |
||
|
1 |
||
|
1 |
||
1 |
|||
|
1 |
LoggingSchema.
entryId
¶The identifier of a particular log record, used to differentiate it from other log records on the same objects.
1
Types.IdentifierType
Node
0.3
LoggingSchema.
identifier
¶The identifier of the object on which a logged event occurred.
1
Types.IdentifierType
Node
0.3
LoggingSchema.
logDate
¶Date and time (UTC) that the event was logged in the DataONE system.
1
Types.DateTime
, an ISO 8601 Date-time value in UTC
Node
0.3
LoggingSchema.
ipAddress
¶The InternetProtocol address from which an originating event request originated.
1
String Internet IP address in either IP4 or IP6 syntax
Node
0.3
LoggingSchema.
userAgent
¶A string indicating the type of client software agent that was used by the user to connect to the service and originate the logged event.
1
Any string value signifying a user software agent and its version.
Node
0.3
LoggingSchema.
event
¶The type of event that was logged, such as an object insertion or deletion.
1
Types.EventType
Node
0.3
LoggingSchema.
principal
¶Principal who generated the event through a request to the node. If the event was recorded without identifying the principal, then the principal will be recorded as ‘public’.
1
Types.PrincipalType
Node
0.3
LoggingSchema.
memberNode
¶The Member Node Identifier of the node on which this logged event occurred. This field is used to distinguish log records that occur at the same time on different Member Nodes, such as simultaneous downloads.
1
Types.NodeReferenceType
Node
0.3