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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...