Splunk Search

how to make transaction to consider the data from the beginning(i.e oldest data)

anooshac
Communicator

Hi all, i have a query for transaction,

source="abc_data1_*" index="testing" sourcetype="_json"
| transaction startswith=(STATUS="FAIL") endswith=(STATUS="SUCCESS")

The events in the results are considered from most recent to oldest. But i want this  transaction to consider the the older data first to the processing. I want the data to be sorted from the beginning and then apply the transaction. "Reverse" doesn't work with this.Anyone knows how to do this?

Labels (1)
0 Karma

sharynh
Splunk Employee
Splunk Employee

Have you tried Tail ?

Customer Success Manager | Public Sector
Splunker since July 2021 - still a newbie!
0 Karma

anooshac
Communicator
No. How exactly should i use that?
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| sort 0 _time
0 Karma

anooshac
Communicator

Hi sir, I am getting the events like this. only one event is older and the rest is new data.2021-08-06_19h54_34.png

As you can see only first event is older.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What is your full search?

0 Karma

anooshac
Communicator
source="abc_data1_*" index="testing" sourcetype="_json"
| transaction startswith=(STATUS="FAIL") endswith=(STATUS="SUCCESS")

 This is only my full search.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

8/4/21 is not older than 7/30/21

Can you share some of your raw events as it doesn't look like your transaction command is working.

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...