Skip to content

EventFacet class must be replaced by EventRecordFacet class #13

Description

@fabrizio-turchi

The below example contains only the main properties. Other additional properties are:

  • observable:eventRecordServiceName. The service that generated the event record. A single application can have multiple services generating event records.
  • observable:eventRecordDevice The device on which the log entry was generated. It's an @id reference to an observable_Device
  • observable:application. The app generating the event, it's an @id reference to an observableApplicationFacet
  • observable:startTime and observable:endTime
  • Example:
{
            "@id": "kb:fe688202-4b21-48d2-b07d-170e14971935",
            "@type": "uco-observable:ObservableObject",
            "uco-core:hasFacet": [
                {
                    "@id": "kb:a45c81a7-9afc-482d-9d37-a2b55ddb570d",
                    "@type": "uco-observable:EventRecordFacet",
                    "uco-observable:eventType": "PowerEvent",
                    "uco-observable:eventRecordText": "Power on",
                    "uco-observable:observableCreatedTime": {
                        "@type": "xsd:dateTime",
                        "@value": "2021-05-18T11:31:46+00:00"
                    }
                }
            ]
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions