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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...