Splunk Search

How to associate related fields in different log files to form a statistic table

akdake
Explorer

I have two different data sources:

log 1 include field 'a' and 'b'
log 2 include field 'b'and 'c'

Now i want to create a statistic table including field 'a','b','c' how do i do this? pls. help me Thanks!

Tags (3)
0 Karma

fox
Path Finder

search log1 | join type=left b [search log2] | table a b c

fox
Path Finder

a simple join query posted into a summery index for quick post processing...?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...