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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...