Splunk Dev

system app - what data is being stored in this index

aengineer
New Member

Hi,

Newbie splunk question. I have a Splunk server that is running out of disk space. Looking at all the indexes, I have a "system" app (name = "main") with the homepath of '$SPLUNK_DB/defaultdb/db ' that is occupying most of the space.

How can I find out what data is being stored in this index? That will help me decide if I need to reduce the max-size or add more space.

Thanks
Aspi

Tags (2)
0 Karma

micahkemp
Champion

That's your default index, where events go when no other index was defined.

One way to characterize the type of data in it would be:

| tstats count WHERE index=main BY sourcetype

I'm sure there other methods of reporting to actually determine storage size per sourcetype/source/host/whatever, but this may give you a quick enough answer.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...