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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...