Splunk Enterprise

How to calculate bandwidth for a website from Splunk

shashank_24
Path Finder

Hi, I have a requirement where I need to calculate how much the data is flowing in and out of my web servers.

I have few fields in my logs like 

requested_content -> page/assets/image/css which is being requested.

size -> size of the page/assets/image/css.

Is there a possibility to calculate the bandwidth per day or per week?
I am not sure how to start with the query so any help or advice is appreciated.

Labels (1)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps something like this?

... | timechart span=1d sum(size) as bandwidth
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Platform Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestIntroducing Splunk Edge Processor, simplified data ...

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...