Splunk Search

Unable to Get Transaction Command to Work Past Three Days

davespatz
Explorer

Ok so just upgraded my F5 APM (VPN server) in order to support Windows 10. Asked IT people to test on their Windows 10 machines and now just need to follow up on how many users actually tested. So each VPN session has a unique apm_session_id. I do a transaction on that ID to group all the sessions into one event then filter from there as per below. Good news is that the search below works great if I look at the last three days - specifically, it gives me back two results showing Win10 and a UID (one on November 13th and another today, November 15th). Bad news is that I simply change the date range to say all of last week (which includes Fridays) and NOTHING comes back, specifically "No results found."! It should have found Fridays at least but now finds nothing?

I tried using maxevents=999999999 or maxevents=-1 keepevicted, etc. and nothing works. Any ideas? I just need to run this same search (that works just fine over a 2-3 days) over a period of two weeks. What gives?

Search:

host=renamed-apm-host | transaction apm_session_id | search cplatform=Win10 | stats count by apm_uid cplatform
0 Karma

lguinn2
Legend

The transaction command is probably running out of memory. Maybe you should try an alternate search:

host=renamed-apm-host cplatform=Win10 
| stats count by apm_uid cplatform

Will this work? It should be loads faster...

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!

Automated Threat Analysis: Available in ES Premier

Automated Threat Analysis: Centralize and Accelerate Phishing Investigations in Splunk Enterprise ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...