Traverse a dot-separated path on a nested object and return the leaf value.
Used throughout the transform and filter layers to read user-configured
field paths like "text.MachineName" or "resource.attributes.host"
out of arbitrary log records. Missing intermediate keys yield undefined
rather than throwing, and non-primitive leaves are stringified so the
result always fits the FieldValue shape.
Parameters
obj: object
Object to traverse (typically a log entry, span, or event).
path: string
Dot-separated path. Empty segments are not handled specially.
Traverse a dot-separated path on a nested object and return the leaf value.
Used throughout the transform and filter layers to read user-configured field paths like
"text.MachineName"or"resource.attributes.host"out of arbitrary log records. Missing intermediate keys yieldundefinedrather than throwing, and non-primitive leaves are stringified so the result always fits the FieldValue shape.