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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...