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!

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 ...