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!

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