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

Nat Event On Output(Question) #104

Open
cbahcevan opened this issue Jul 27, 2021 · 2 comments
Open

Nat Event On Output(Question) #104

cbahcevan opened this issue Jul 27, 2021 · 2 comments

Comments

@cbahcevan
Copy link

I can't see the definition of IPFIX_FIELD_natEvent in the source code and in the raw output. Is it going to be added as an IPFIX output?

In the link below I can see its reference number.

IPFIX_FIELD_natEvent = 230

https://github.com/cloudflare/goflow/blob/ddd88a7faa89bd9a8e75f0ceca17cbb443c14a8f/decoders/netflow/ipfix.go

@lspgn
Copy link
Contributor

lspgn commented Jul 27, 2021

Hello,
This is unlikely to be mapped into a protobuf field in the current version.
It is defined in the code: a decoded sample will have the natEvent field and value can be accessed before it's converted to a protobuf but this requires to use the library and not the binary.

Eventually, I am thinking of a solution for GoFlow2 to map any field from a custom configuration into the output formats but this will be a lot of work.

@cbahcevan
Copy link
Author

Thank you for your fast response; now it's clear to me. Then I will try it using it as a library until Goflow2 release :)

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