Open eranra opened 2 years ago
The relevant code is here: https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L95
Other operations also add fields with various suffixes:
AddRegExIf adds a _Matched field https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L83
AddRegExIf
_Matched
AddLocation adds _CountryName, _CountryLongName, _RegionName, _CityName, _Latitude, _Longitude fields https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L111-L116
AddLocation
_CountryName, _CountryLongName, _RegionName, _CityName, _Latitude, _Longitude
AddKubernetes adds _Namespace,_Name,_Type,_OwnerName,_OwnerType fields https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L145-L149
AddKubernetes
_Namespace,_Name,_Type,_OwnerName,_OwnerType
So what is the specific problem with _Evaluate?
_Evaluate
The relevant code is here: https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L95
Other operations also add fields with various suffixes:
AddRegExIf
adds a_Matched
field https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L83AddLocation
adds_CountryName, _CountryLongName, _RegionName, _CityName, _Latitude, _Longitude
fields https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L111-L116AddKubernetes
adds_Namespace,_Name,_Type,_OwnerName,_OwnerType
fields https://github.com/netobserv/flowlogs-pipeline/blob/9e8e6f551a4e9578b4f6afe5262b45518946eebf/pkg/pipeline/transform/transform_network.go#L145-L149So what is the specific problem with
_Evaluate
?