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!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

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

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 ...