Splunk Search

What other commands do you avoid to save system resources?

fedejko
Explorer

Hi,

I have a general question about which commands do you usually avoid in order to make search faster?

For example I tend to aviod transaction and join. Instead of join, when possible I try do use lookup. Also in favour of lookup, I try not to use subsearches which use | inputlookup command.

What about other commands? What other commands do you avoid to save system resources?

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @fedejko,

commands to avoid are join and transaction, then you have to analyze your dashboard and see if you can optimize them using Post Process Search, acceleration, Summary indexes or Data Models.

Search them in Splunk documentation for details.

Lookups are a good approach when you have few data, if you have many data od data with a timestamp the other methods are better.

Ciao.

Giuseppe

0 Karma

fedejko
Explorer

Thanks for your reply.

I don't analyze dashboards, only saved searches which run periodically.

So you don't mention any other resource-hungry commands apart from transaction and join?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @fedejko,

no, other than these two commands there aren't other heavy commands, but as I said, you have also to analyze your searches.

In other words, if you use a search on billions of events, maybe it could be useful to use a Summary index or an accelerated search or a Data Model than a lookup.

Then you have to avoid searches with * at the beginning of a field, then use positive matches than negative ones, and all the methods to optimize your searches.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...