Graphing the number of connections per machine IP

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Alexi102000
Posts: 1
Joined: Mon Jun 05, 2017 12:39 pm

Graphing the number of connections per machine IP

Post by Alexi102000 »

Hello, I have done a lot of searching, but there does not seem to be anything out there that I could potentially utilize. I would like to somehow graph the number of connections hitting a server and break it down by machine IP. For example, on Linux system, running:

Code: Select all

# netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Gives the following output:

Code: Select all

      4 10.1.84.105
      4 10.1.89.136
      6 10.0.100.126
     48 10.0.100.70
Is it possible to make a single graph that displays the number of connections for each IP address? This data would be tremendously helpful for us. Most of the stuff I've seen are for total connections, which while useful, is not detailed enough for us. Thank you!!!
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Graphing the number of connections per machine IP

Post by cigamit »

Graphs are really not a good way you visualizing this. You should look at using NetFlow instead.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests