Splunk Search

Count Sourcetype by Day

ccsfdave
Builder

Greetings,

I am trying to figure out whether data under a given source type is growing. I would like to get these results grouped into days for each source type:

*| stats count by sourcetype 

So a chart would have the 8 source types I have grow or shrink by day.

Thanks for your help!

Dave

Tags (3)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

for the count of events :
* | timechart span=1d limit=10 count by sourcetype

or for the volume, see http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume

View solution in original post

yannK
Splunk Employee
Splunk Employee

for the count of events :
* | timechart span=1d limit=10 count by sourcetype

or for the volume, see http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume

ccsfdave
Builder

Thanks Yann!

I ended up with:
*| timechart span=6h count by sourcetype

Cheers!

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...