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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...