Splunk Search

Accelerate transaction searches

horacechan
New Member

Hi,

I am fairly new to Splunk. Is there a way to accelerate searches that use the 'transaction' command? Whenever I try to save this as accelerated search, it fails to save.

index=myidx sourcetype="my-logs" (jobtype OR appid) | transaction tid keepevicted=true maxspan=180 | fillnull value=null appid | stats count by jobtype, appid

Thanks!

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

That search does not qualify for Report Acceleration due to the non-streaming transaction command being used before the first transforming command (stats😞 http://docs.splunk.com/Documentation/Splunk/6.0.2/Knowledge/Manageacceleratedsearchsummaries#Example...

martin_mueller
SplunkTrust
SplunkTrust

Without knowing the data or your requirements for the result, same way as speeding up any other search. Filter as much as possible as early as possible, restrict timeranges, consider summarizing searches, etc.

0 Karma

horacechan
New Member

Thanks for you quick response.

Do you know of a good way to speed up the "transaction" command?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...