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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...