Splunk Search

transaction question

hylee
Explorer

I use the code below, and it works..

sourcetype="splunk_page_request" | transaction session_id maxspan=3s

and I want to use the code below

sourcetype="splunk_page_request" | transaction request_uri AND session_id maxspan=3s

it works?
please explain how to work the upper code..

actually, I want the result below

if below
request_uri=1 session_id=a time=2013/07/10 12:00:00
request_uri=2 session_id=a time=2013/07/10 12:00:02

count is 2

if below
request_uri=1 session_id=a time=2013/07/10 12:00:00
request_uri=1 session_id=a time=2013/07/10 12:00:02

count is 1

someone please help me..

Tags (1)
0 Karma
1 Solution

linu1988
Champion

sourcetype="splunk_page_request" | transaction request_uri session_id maxspan=3s

View solution in original post

hylee
Explorer

Thank you so much!!

0 Karma

linu1988
Champion

sourcetype="splunk_page_request" | transaction request_uri session_id maxspan=3s

Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...