Protecting infrastructure with network insight

Building network analysis tools

The world’s infrastructure resiliance relies on understanding connections. From trans-continental gas pipelines to small IT networks, a single failure can have a significant impact down the chain.

To manage that risk, huge sums are spent on network monitoring and network analysis tools. These tools collate terabytes of data, detailing every device and connection in a network. In this post, I’ll demonstrate why network analysis (often called graph visualization), powered by our graph visualization SDKs, is the ideal way to make sense of that data.

The example I’m sharing here relates to an IT network topology, but the network analysis techniques and approaches work equally well for any kind of infrastructure management. If you’d prefer, you can see a video of the application running as part of this webinar, co-hosted with our partners ArangoDB.

Why visualize an IT network as a graph?

There are two key advantages to exploring infrastructure data as a graph.

Firstly, it gives analysts a faster way to discover and understand the network topology. Often network diagrams are painstakingly compiled using diagramming tools like Visio. A complete picture is slow to create and impossible to maintain. An automated approach, using interactive network analysis tools built with KeyLines, gives detailed and up-to-the-minute views of the network topology without the need to trawl logs and documents.

Secondly, graph visualization can help reveals potential network threats. Having a complete and accurate view of the network topology makes it easier to find weaknesses or bottlenecks, showing the point that can be exploited or on which there is dangerous over-reliance.

Let’s look at an example.

Note: I’m using falsified data here, but it borrows heavily from real IT network datasets we have visualized in KeyLines.

The architecture of network analysis tools

In this example, I opted to use an ArangoDB back-end for my visualization. It gives me the scalability and performance I need to work with the large datasets involved. It also integrates easily with KeyLines.

Between Arango and KeyLines, I built a simple microservice using the Foxx framework, giving a neat end-point that reduces lag and delivers data to KeyLines pre-parsed into the required JSON format.

The architecture of my KeyLines / ArangoDB network analysis tool
The architecture of my KeyLines / ArangoDB network analysis tool

Let’s load our starting point, in this case, a network bridge:

A single-node network - representing a bridge
A single-node network – representing a bridge

So far, so good. We can see the bridge, labeled with its device name and highlighted with a double ‘halo’. But a single-node network isn’t very insightful – let’s expand out a level:

network analysis tools - showing switches directly connected to the bridge
Switches directly connected to the bridge

This shows us the 10 switches connected to the bridge. I’ve used two different types of link (solid and dashed) to show, for example, connection type or status, and glyphs on the nodes, which show device uptime:

Network analysis tools - showing switch uptime
Certain switches have worryingly low uptime, represented by red glyphs

Already we can see several nodes with poor uptime – something we can drill into further by expanding out another level:

Next level: routers. Many of which with poor reliability (indicated by red nodes).
Next level: routers. Many of which with poor reliability (indicated by red nodes).

This view shows us there’s a lot more red glyphs – more devices with uptime issues. Let’s expand out again to see the final level in our dataset: hosts.

Adding hosts to the chart in our network analysis tool

This gives us a busy chart, but thanks to the KeyLines standard layout we can start to pick out patterns.

An IT network topology, visualized in KeyLines
An IT network topology, visualized in KeyLines

There are some clusters, representing large numbers of hosts connected to an individual router. These could be bottlenecks or devices on which there’s a disproportionate dependency. A failure of, or attack on, one of these would cause problems.

An advantage of using graph-based network analysis tools is the ability they give to run social network analysis measures. These help us uncover a network’s most important nodes.

Our network, with nodes sized by importance, running the structural layout
Our network, with nodes sized by importance, running the structural layout

Here we’ve calculated the significance of nodes based on the number of incoming links from any distance. It’s another way to perform impact analysis and uncover nodes that are heavily relied upon.

Finally, we can apply a powerful bit of functionality that really helps simplify the data so users can drill into the right areas. KeyLines allows me to combine nodes based on common properties or connections. Here, we can group by level and type:

Combining nodes by level and type

The result is a drilled-down version of the original view – a topology of the topology which simplifies the chart. Additional information can be added back in thanks to KeyLines’ node combining functionality, which reveals additional data on demand:

Exploring combined nodes using KeyLines’ open combos function

In this example, I’ve really only used a few bits of KeyLines functionality. We could incorporate geospatial graph analysis, time-based graph visalization analysis and network filtering to give users more options to uncover insight.

That’s the core strength of KeyLines: with just a small amount of JavaScript code you can create a powerful component that suits the specific needs of your users. Those components can be integrated with any back-end or front-end technologies and deployed to your users, anywhere in the world.

If you’d like to build your own network analysis tools, request a trial of graph visualization SDKs.

How can we help you?

Request trial

Ready to start?

Request a free trial

Learn more

Want to learn more?

Read our white papers


Looking for success stories?

Browse our case studies

Registered in England and Wales with Company Number 07625370 | VAT Number 113 1740 61
6-8 Hills Road, Cambridge, CB2 1JP. All material © Cambridge Intelligence 2024.
Read our Privacy Policy.