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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...