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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...