Splunk Search

sourcetypes

verifi81
Path Finder

Is there a way to tell which method a sourcetype is using to get data into splunk? 

For example, suppose I look at the sourcetype of an index named main

|metadata type=sourcetype index=main

It display a list of sourcetypes but I want to know if those sourtypes of syslog, from a heavy forwarder, or from a universal forwarder.  Is that possible? 

0 Karma

thambisetty
SplunkTrust
SplunkTrust

AFAIK, There is no direct way to identify this. you can identify using 

index=_internal group=per_sourcetype_thruput sourcetype=splunkd host=<excludeyourindexers> | stats count by host,series
| table host,series | rename series as sourcetype
————————————
If this helps, give a like below.
0 Karma

isoutamo
SplunkTrust
SplunkTrust
That's good starting point. Unfortunately it shows only 10 most busiest sourcetypes by default.

https://docs.splunk.com/Documentation/Splunk/8.1.0/Troubleshooting/Aboutmetricslog
Unfortunately I couldn't recall any better way at this point.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...