Skip to Content

Network monitoring

The network monitoring grain in InGRAINd collects network events straight from the kernel, unlike most network monitoring solutions. Because of this, InGRAINd can observe detailed statistics about the network behaviour of applications without impacting network throughput and performance.

Enabling network monitoring for all network interfaces, therefore, is as easy as enabling the Network probe in config.toml:

pipelines = ["console"]
type = "Network"

The grain monitors all outgoing connections from the box, and will print the details of outgoing connections:

        "process_str":"Socket Thread",

The details of an outbound and inbound traffic is also clearly visible, even on localhost:

        "process_str":"Socket Thread",


The value of measurement is in bytes, and every single read() and write() system call can be observed for UDP and TCP traffic.

Back to top