Splunk Search

What are the differences between append, appendcols, and join search commands?

Amirahussein
Path Finder

Hello all,

I need to know all differences between append, appendcols, and join when being used with pipe while searching in xml file.
Also, I need to know the effect of every command in the performance and if any of them causes interference between events.

Regards,

joesrepsolc
Communicator

Wow. such a complete and informative response cmerriman. Nailed it!

cmerriman
Super Champion

append: append will place the values at the bottom of your search in the field values that are the same. for instance, if you have count in both the base search and append search, your count rows will be added to the bottom. i believe this acts as more of a full outer join when used with stats to combine rows together after the append
http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Append

appendcols: this will add new columns to the base search instead of just appending it all to the bottom.
http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Appendcols

join: this will also add new columns to the base search instead of at the bottom, however it is not a full outer join. join does take performance away and it is better to try to use other methods, such as stats, append, appendcols, etc.
http://docs.splunk.com/Documentation/Splunk/6.5.1/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 ...