Getting Data In

Sourcetypes not searchable

benjamin009
Explorer

Hello Splunk world,

I am having a weird issue where I am seeing SourceTypes that are not searchable.

If i click into Search and Reporting and select the Data Summary, under the SourceTypes tab I see 61 SourceTypes.

However,

If i run a search that is something like " | metadata type=sourcetypes index=* " I get 147 SourceTypes listed.

One of those "hidden" SourceTypes is the data I need to search against.

Anyone have any ideas why/how this is happening?

0 Karma

woodcock
Esteemed Legend

You are probably relying on Indexes searched by default which is a VERY bad habit. Try this:

index=* OR index=_* sourcetype=MyHiddenSourceType

Then, when you figure out what index has your sourcetype, you can do this:

index=IndexForMyHiddenSourctype sourcetype=MyHiddenSourceType
0 Karma

benjamin009
Explorer

Thank you for the feedback. I'd though about that and we are using the query "Index=* sourcetype=HiddenSourceType" still no luck.

I see that sourcetype available in "|metadata" with current epoch time, but I get no results running over any timeframe. I know the data is there, it's just not letting me search through it.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...