Deployment Architecture

Can I search static files for a keyword across all time without a performance penalty?

mjones414
Contributor

I have several hundred files that have been read into Splunk that change very infrequently, but there are times I want to do keyword search across all my file sources without a time context. Is there any way to do this without the all time performance penalty?

0 Karma

rjthibod
Champion

If you are looking for a very specific word or continuous set of characters, then TERM() is what you want to use. That is the fastest way to find instances of a specific word.

TERM() is used in the initial search segment of your query, like this: index=... TERM(<keyword>) | ....

rjthibod
Champion
0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...