Splunk Search

Why are we unable to find any results when running the transaction command?

asm_coe
Explorer

Hi,
I have ingested a ticket dump csv file. Transaction ID is one of the fields.

Unable to find any events when I run the transaction commands below.

| transaction Transaction ID
| transaction Transaction ID App ID.

Basically i'm tryoing to build some correlation anong the events. Please help with appropriate transaction commands to overcome this scenario. Thanks.

0 Karma

niketn
Legend

@asm_code if there is a space in the field name you should put field name in quotes i.e. | transaction "TransactionID". Try the following run anywhere example based on the details provided.

 | makeresults
| eval data="\"Transaction_ID\"=1,status=Incoming;\"Transaction_ID\"=1,status=ACK;\"Transaction_ID\"=1,status=Outgoing;\"Transaction_ID\"=2,status=Incoming;\"Transaction_ID\"=2,status=ACK;"
| makemv data delim=";"
| mvexpand data
| rename data as _raw
| extract pairdelim="," kvdelim="="
| rename "Transaction_ID" as "Transaction ID"
| transaction "Transaction ID"
| table _time "Transaction ID"  status duration

However, most of the time using stats to correlate event will perform way better than transaction.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...