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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...