Getting Data In

Why does metadata command returns only one sourcetype?

dillardo_2
Path Finder

We've got over 50 sourcetypes, however, when I run the command below, I only see syslog under the sourcetype column.

| metadata type=sourcetypes | sort - totalCount

Does anyone have an explanation?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

It's only looking at your default index(es). Try | metadata type=sourcetypes idnex=* | sort - totalCount.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

It's only looking at your default index(es). Try | metadata type=sourcetypes idnex=* | sort - totalCount.

---
If this reply helps you, Karma would be appreciated.

dillardo_2
Path Finder

Thanks @richgalloway, this did the trick!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...