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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...