Netflow - SUM netflow.bytes between 2 ip's

Hi All,
I'm using ELK 7.1 and Netflow v.5 to gather and visualize Netflow data in our environment. All features and dashboards are working correctly. However I'm trying to create a graph that displays the bandwidth being used between 2 ip address (BOVPN). Can somebody help me with the KQL code?
Thank you very much

I'm not familiar with the Netflow module, could you help me understand what the documents look like? Does each individual document have some sort of bandwidth field? Do you just want to add together the bandwidth use of two specific ip addresses?

Hello Bargs,
first of all thank your for your time and attention on it.
I'd like to sum the total bytes transferred between 2 ip's (they're my BOVPN gateway). Netflow has a few fields related to the flow and a few fields related to the geoip. here are the netflow fields.
indent preformatted text by 4 spaces
|netflow.first_switched|Jul 20, 2019 @ 12:15:07.836|
|netflow.last_switched|Jul 20, 2019 @ 12:15:07.944|
|netflow.src_port_name|TCP/443 (https)|
|netflow.tcp_flag_tags|PSH, ACK|
|netflow.version|Netflow v5|

thank you

I feel like I might not be fully understanding your request, but if you just want to match docs that are going from one particular IP to another, you could just do:

netflow.src_addr: and netflow.dst_addr:

Hello Bargs,
Sorry if I wasn't clear on my question. What I'd like to have is a graph to monitor our Branch Office VPN that is connected between our main office (IP: and our DR (IP: I'd like to see one graph like this but instead of flow records, I'd like to see it in bytes. By the way, I'm running ELK 7.2.
Thank you very much for your attention

I think a vis with the following configuration would give you what you want:

That worked perfectly.
Thank you very much for all your help.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.