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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...