Getting Data In

How to calculate traffic overview?

RJ2
Observer

I want to calculate the volume of traffic ( FortiGate firewall) ;

 

I wrote this query I don't know if it's correct or not.

"index=<my index> sourcetype=<my_sourcetype>  | eval TotalTraffic_GB = (sum(bytes)/1000000000)| stats sum(TotalTraffic_GB) as TotalGigaBytes ,
avg(TotalTraffic_GB) as AvgGigaBytes, max(TotalTraffic_GB) as MaxGigaBytes"

PLEASE CAN ANY ONE HELP ME ?? 

Labels (5)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming bytes is field containing one or more numerics, the search looks like it will work. How you tried it? Do you get an error?

0 Karma

RJ2
Observer

It works well ! without any error

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...