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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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