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!

Infographic provides the TL;DR for the 2023 Splunk Career Impact Report

We’ve been shouting it from the rooftops! The findings from the 2023 Splunk Career Impact Report showing that ...

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

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