Question
· Dec 19

OpenTelemetry - how to emit custom structured log messages?

I am experimenting with OpenTelemetry and recently connected all IRIS instances to telemetry servers.
I'm not interested in emitting custom metrics since IRIS does it fine, regarding tracing - we can use %Trace classes to emit custom traces, but what about logging?

I see that IRIS is able to send system log messages to the OpenTelemetry servers:

{
  "when": "2025-12-10 10:46:25.185",
  "pid": "11852",
  "level": "SEVERE",
  "event": "Generic.Event",
  "text": "ISCLOG: CSPServer  Error displaying login page $ZE= ns=TEST rtn=%SYS.cspServer ...(repeated 2 times)"
}

Is this possible to send custom structured OTEL-compatible logs using IRIS built-in classes? It can be easily done with Python but may be IRIS also provides some API?

Product version: IRIS 2025.3
Discussion (0)1
Log in or sign up to continue