Splunk Search

self join in splunk

abhayneilam
Contributor

Hi,

Can you make me understand how to use a self join using splunk..

A short example will work.

thanks a lot !!

Abhay

Tags (4)

DaveSavage
Builder

Abhay,
....| selfjoin []* gives you a join on the selected field(s). The options are useful (overwrite, max or keepsingle. That allows control over values in the selected fields. Note the default on 'max' vs zero.
There's more at http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Selfjoin

The example used is ... | selfjoin id...which may start you off with results. Depends what you are trying to do after that 😉

Get Updates on the Splunk Community!

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 ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...