Splunk Search

Is there a way to call 2 different data models in a search and join them with stats?

clyde772
Communicator

Is there a way to call 2 different data models in SPL to join them with stats? I have tried multisearch, but didn't work. like this :

| multisearch [ | pivot. DM_1.... ] [ | pivot ..DM_2.... ] | stats xx by yy

0 Karma

Yasaswy
Contributor

clyde772, try
|pivot DM_1..... join [|pivot DM_2...]|stats xx by yy

0 Karma

clyde772
Communicator

Thanks! That's right, I always try to avoid join... I guess I have no more options..

0 Karma
Get Updates on the Splunk Community!

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...