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!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...