Splunk Search

Help with alert search with join or append?

VijaySrrie
Builder
index=cat        
         
  Name Place ID  
  jack delhi 1  
  jill melbourne 2  
         
         
index=dog        
  Country number    
  Australia 2    
  India 1    
         
ID field in cat and number field in dog are same, I need below output    
         
  Name Place ID Country
  jack delhi 1 India
  jill melbourne 2 Australia
Labels (2)
Tags (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
index=cat OR index=dog
| rename number as ID
| stats values(*) as * by ID
0 Karma

VijaySrrie
Builder

Hi @ITWhisperer ,

Thanks for the reply, I have pasted the answer that worked for me.

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...