Skip to main content
Solved

OPCUA | Create event from Data node


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

View original
Did this topic help you find an answer to your question?

3 replies

  • Practitioner
  • 75 replies
  • 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
  • 2 replies
  • March 26, 2025
Einar Omang wrote:

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

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


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings