Splunk Search

What happens to fields as they move down the pipeline?

adrianathome
Communicator

I have a search that has 3 joins.

search1 | join common_field1 [search2] | join commonfield2 [search3] | table field1, field2, field3, field4

Search1 and Search2 have some fields that have the same name. Search2 and Search3 have some fields that have the same name.

How does Splunk decide which field to use on the table?

Thanks!

Tags (2)
0 Karma
1 Solution

Ron_Naken
Splunk Employee
Splunk Employee

The default behavior for "join" is to overwrite the shared fields with the results of each join; however, you can override this with the overwrite option:

... | join common_field1 overwrite=f [search2]

Help on JOIN is provided here:
http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Join

View solution in original post

Ron_Naken
Splunk Employee
Splunk Employee

The default behavior for "join" is to overwrite the shared fields with the results of each join; however, you can override this with the overwrite option:

... | join common_field1 overwrite=f [search2]

Help on JOIN is provided here:
http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Join

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

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

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