Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support JSON input with nested objects fields #480

Open
aslom opened this issue Aug 31, 2023 · 1 comment
Open

support JSON input with nested objects fields #480

aslom opened this issue Aug 31, 2023 · 1 comment

Comments

@aslom
Copy link

aslom commented Aug 31, 2023

I have input JSON with topic fields inside child customData:

{"id":"fb1a463c-8a27-4cc2-9f0c-bd991c3802d6",
"eventTime":"2023-08-27T13:38:13.373726754Z",
"customData":{"valid":"0","offset":"0","topic":"topic1"}
}

How would I do addIf for customData.topic?

          - type: add_if
            input: customData.topic
            parameters: '== "topic1"'
            output: classification
            assignee: high

@ronensc
@eranra

@ronensc
Copy link
Collaborator

ronensc commented Sep 5, 2023

Unfortunately, we don't support this feature. The flowlogs are assumed to have a flat structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants