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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...