Closed superstes closed 7 months ago
Is your feature request related to a problem? Please describe.
I'm using softflowd to export to goflow2 and use grafana-agent/grafana-promtail to process their data.
To get a basic throughput metric we can add-up the flow-bytes per host, if-in and if-out.
That looks like that:
flow_throughput{application="netflow_data",low_if_in="0",flow_if_out="0",flow_vlan_in="0",hostname="xxx"} 149368
Example grafana-agent config
Describe the solution you'd like What would be very nice to have is a interface pretty name instead of the generic interface-id we see.
interface pretty name
I would guess that would be easy to implement using the golang net.Interfaces function.
The functionality could be triggered using the -format.selector flag.
-format.selector
Describe alternatives you've considered Using rsyslog magic to script it.. but that would not be a very clean approach.
duplicate.. sorry
Is your feature request related to a problem? Please describe.
I'm using softflowd to export to goflow2 and use grafana-agent/grafana-promtail to process their data.
To get a basic throughput metric we can add-up the flow-bytes per host, if-in and if-out.
That looks like that:
Example grafana-agent config
Describe the solution you'd like What would be very nice to have is a
interface pretty name
instead of the generic interface-id we see.I would guess that would be easy to implement using the golang net.Interfaces function.
The functionality could be triggered using the
-format.selector
flag.Describe alternatives you've considered Using rsyslog magic to script it.. but that would not be a very clean approach.