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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...