Skip to main content
Seasoned ⭐️
Mar 26, 2025 7:15 AM UTC
Solved

OPCUA | Create event from Data node

How can we configure the OPCUA data node (in string) as event in Cognite instead of timeseries (by default)?
P.S. The existing OPCUA Server does not support to configure it as Event.

Practitioner ⭐️⭐️⭐️
Mar 26, 2025 9:01 AM UTC

This is possible with the extractor as-is. You can define a transformation using `extraction.transformations` see docs. You would create a filter that matches the nodes you want to ingest as events, then set the transform type to AsEvents

3 replies

Practitioner ⭐️⭐️⭐️
Mar 26, 2025 9:01 AM UTC

This is possible with the extractor as-is. You can define a transformation using `extraction.transformations` see docs. You would create a filter that matches the nodes you want to ingest as events, then set the transform type to AsEvents

Seasoned ⭐️
Mar 26, 2025 10:11 AM UTC

This is possible with the extractor as-is. You can define a transformation using `extraction.transformations` see docs. You would create a filter that matches the nodes you want to ingest as events, then set the transform type to AsEvents

Thanks for the great hint.
Manage to create the events through transformation from the data nodes.
================================
    transformations:
        - type: 'AsEvents'
          filter:
              name: 'Message'
              node-class: 'Variable'
================================
1) How do we assign the “Type” as it was showing as empty? Not sure if my configuration is correct.as above/
2) How do we associate asset to the event or timeseries?
3) Would be interesting to be able to create metadata on the event based from the value.

Practitioner ⭐️⭐️⭐️
Mar 26, 2025 12:20 PM UTC

The config looks fine. There is no way to do any more advanced transformations to the generated event at the moment.