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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...