Skip to content

Translate processor #6668

@sashalarsoo

Description

@sashalarsoo

Im using the translate processor to convert atrributes.

i have the following in opensearch:

Image

I want to convert this attribute so i configured:

- translate:
            mappings:
              - source: "/resource/attributes/compartment_id"
                targets:
                  - target: "/test"
                    map:
                      ocid1.compartment.oc1..aaaaaaaanf7f5p6f4xeftfmcuq7loarnufa3zqa2nsfy67dfg2kgsgokzcfq: "Not Found"
                    default: "Unknown"

But it looks like the processor could not get the attribute because it creates no one. I precise that when i put a single source level (eg: /logid) it works in the same log entry but when adding this structure /x/y/z it doesnt work i dont even have the default unknown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions