Installation

How to find which sourcetype is sending the highest logs in last 10 minutes

pankajupadhyay
Path Finder

Hi,

can someone please help ?

How to get the count or logs in gb/mb from particular sourcetype  on indexer?

 

 

 

Labels (3)
0 Karma

inventsekar
Super Champion

 

index=_internal source=*license_usage.log type="Usage" 
| eval indexname = if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx)
| eval sourcetypename = st
| bin _time span=1d 
| stats sum(b) as b by _time, pool, indexname, sourcetypename
| eval GB=round(b/1024/1024/1024, 3)
| fields _time, indexname, sourcetypename, GB

 

Once you got the results, you can sort / filter them hourly, daily, weekly, etc. 

 

https://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume

this page got license usage splunk search queries.

0 Karma
Get Updates on the Splunk Community!

Devesh Logendran, Splunk, and the Singapore Cyber Conquest

At this year’s Splunk University, I had the privilege of chatting with Devesh Logendran, one of the winners in ...

There's No Place Like Chrome and the Splunk Platform

WATCH NOW!Malware. Risky Extensions. Data Exfiltration. End-users are increasingly reliant on browsers to ...

Customer Experience | Join the Customer Advisory Board!

Are you ready to take your Splunk journey to the next level? 🚀 We invite you to join our elite squad ...