NavigationRecent Updates |
Graphing with RSubmitted by stuartf on Tue, 2006-10-03 07:15.Operating System
I wanted to know who was using our DNS servers for recursive lookups from off campus. Getting all the data together for this wasn't hard, but once I had it it was difficult to read, so I made a graph of it. Here's how: First I got all the data into a csv file one datapoint per line and a header line, it looks like:
The asns and names are pulled from Cymru, queries is the average number of queries from that netblock per day since we started monitoring, and hosts is the average number of unique IPs querying per day since we started monitoring. Getting the data into this format is left as an exercise for the reader (you probably want to graph something completely different anyway. Now the fun part lets define a scatterplot in R.
The first line creates a table from our csv file. The resulting graph is a bit messy and probably isn't fit for publishing, but it gives me the data I need, and could be further tweaked for readability if necessary. Trackback URL for this post:http://lopsa.org/trackback/814
stuartf's blog | add new comment | 10361 reads
|