Skip to main content
Answer

OPCUA | Create event from Data node

  • March 26, 2025
  • 3 replies
  • 37 views

Forum|alt.badge.img+2

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.

Best answer by Einar Omang

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
  • Answer
  • March 26, 2025

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


Forum|alt.badge.img+2
  • Author
  • Committed
  • March 26, 2025

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
  • March 26, 2025

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