Splunk Search

Based on the search time which is best, stats or transaction?

Ramana246
Explorer

based on the search time which is best, stats or transaction.

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Ramana246,

use stats all the times you can,

in other words, you have to use transaction (that's very slow command) only if you have to use a condition as startswith or endwith.

Ciao.

Giuseppe

0 Karma

yuanliu
SplunkTrust
SplunkTrust

stats, hands down.

Ramana246
Explorer

Thanks 

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...