diff --git a/inputs/net/net.go b/inputs/net/net.go index 9d93ea1..30aa511 100644 --- a/inputs/net/net.go +++ b/inputs/net/net.go @@ -102,7 +102,9 @@ func (s *NetIOStats) Gather(slist *list.SafeList) { fields := map[string]interface{}{ "bytes_sent": io.BytesSent, + "bits_sent": io.BytesSent * 8, "bytes_recv": io.BytesRecv, + "bits_recv": io.BytesRecv * 8, "packets_sent": io.PacketsSent, "packets_recv": io.PacketsRecv, "err_in": io.Errin, diff --git a/inputs/switch_legacy/README.md b/inputs/switch_legacy/README.md new file mode 100644 index 0000000..e69de29