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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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