Splunk Search

How to make this transaction work and find values from one result set that might be related to the other?

MonkeyK
Builder

I am trying to correlate two resultsets.

One is a straight search of apache logs.
The other is a table that that took a long time to run (several days)

I wanted to know if the web logs are likely related the results in the table, which I define by them happening around the same time. So I tried using the transaction command with a dummy common value

|searchA | eval dummy="true", from="searchA" 
| append [|loadjob sid=job2 | eval dummy="true", from="searchB"] 
| transaction dummy maxspan=3s

And this does create a resultset of transactions, but it ignored the appended loadjob. I think this was because that job's results were a table, not events. So I tried turning it into events

|loadjob sid=job2 
| eval dummy="true", from="searchB" 
| eval _raw=_time." ".col1." ".col2

And then used that for the transaction

|searchA | eval dummy="true", from="searchA" 
| append [|loadjob sid=job2 | eval dummy="true", from="searchB" | eval _raw=_time." ".col1." ".col2] 
| transaction dummy maxspan=3s

But this creates distinct transactions for each "from" value even though I only defined the transaction field on "dummy".

Does anyone have a suggestion on how I can correlate these two result sets on time?
My ultimate goal will be to finish the query with

|search from="searchA" from="searchB"

So I can find values from one result set that might be related to the other

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...