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

 

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.

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...