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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...