Closed vaygr closed 7 months ago
Hi @vaygr, thanks for bug report. I'm sure this feature is working,I just checked output of collector and labels for interface names are present.
netflow_flow_traffic_detail{destination="142.251.36.142",destination_asn_org="Google LLC",destination_country="US",destination_port="443",input_interface="7",input_interface_name="bridge1",output_interface="1",output_interface_name="wan",protocol="udp",sampler="192.168.1.3",source="192.168.1.101",source_asn_org="",source_country="local",source_port="41389"} 3566
netflow_flow_traffic_detail{destination="142.251.37.106",destination_asn_org="Google LLC",destination_country="US",destination_port="443",input_interface="7",input_interface_name="bridge1",output_interface="1",output_interface_name="wan",protocol="tcp",sampler="192.168.1.3",source="192.168.1.104",source_asn_org="",source_country="local",source_port="54036"} 2319
Few things to check on your end.
extensions:
interface_mapper:
"0": if0
"1": if1
I will put more effort to examples/documentation.
@rkosegi yes, I tested those with strings first, same issue. I do have input_interface
and output_interface
labels as 0
, 1
, 2
, and 5
, so they exist.
This issue has been marked 'stale' due to lack of activity. The issue will be closed in another 30 days.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
For some reason in my setup it doesn't work, even though it seems netflow-collector processes yaml config properly.
I have:
input_interface_name
andoutput_interface_name
don't show up in metrics.