Getting Data In

Visualize netflow in splunk

nickbijmoer
Path Finder

Hello guys I get network traffic logs in splunk the structure is:

2016-11-24 10:59:50,2016-11-24 10:59:50,0.000,xxx.xx.xx.4,xx.xx.xxx.xx3,65499,389,UDP,......,0,0,0,0,0,0,13,17,0,0,0,0,0,0,0.0.0.0,0.0.0.0,0,0,00:00:00:00:00:00,00:00:00:00:00:00,00:00:00:00:00:00,00:00:00:00:00:00,0-0-0,0-0-0,0-0-0,0-0-0,0-0-0,0-0-0,0-0-0,0-0-0,0-0-0,0-0-0, 0.000, 0.000, 0.000,xxx.xx.xx.x7,0/0,1,2016-11-24 10:59:50.402

How can I visualize how much traffic we have everyday?

0 Karma
1 Solution

kalianov
Path Finder
  1. Extract field with data size per session, for example "trafic_size"
  2. Extract other fields (ip, port, e.t.c.)
  3. Select the time period for which you want to count traffic
  4. Calculate your traffic:
    your search | stats sum (trafic_size) OR calculate your traffic by ip: your search | stats sum (trafic_size) by ip

View solution in original post

kalianov
Path Finder
  1. Extract field with data size per session, for example "trafic_size"
  2. Extract other fields (ip, port, e.t.c.)
  3. Select the time period for which you want to count traffic
  4. Calculate your traffic:
    your search | stats sum (trafic_size) OR calculate your traffic by ip: your search | stats sum (trafic_size) by ip
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...