Getting Data In

How much are we indexing per index

bohrasaurabh
Communicator

How can I query how much data are we indexing per index for last 7 days. We are on Splunk 6.0.1

Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

Try this

index=_internal source=*metrics.log group=per_index_thruput series!="_*"  | bucket span=1d _time  | eval totalMB = round(kb/1024,4) | eval Date=strftime(_time,"%Y-%m-%d") | chart sum(totalMB) over series by Date

View solution in original post

somesoni2
Revered Legend

Try this

index=_internal source=*metrics.log group=per_index_thruput series!="_*"  | bucket span=1d _time  | eval totalMB = round(kb/1024,4) | eval Date=strftime(_time,"%Y-%m-%d") | chart sum(totalMB) over series by Date

lukejadamec
Super Champion

You can something try this:

index=_internal source=*metrics.log group=per_index_thruput series!="_*" | eval totalGB = (kb/1024)/1024 | timechart span=7d sum(totalGB)

0 Karma

bohrasaurabh
Communicator

I am looking for a query which can output index and its usage. Something like below
name day1 day2 day3 day4 day5 day6 day7
index_a 1.2 1.3 1.5 1.1 1.7 0.9 1.1
index_b 3.2 3.2 3.5 3.7 4.0 3.2 3.2

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

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 ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...