<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What are the differences between append, appendpipe, and appendcols search commands? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135571#M37071</link>
    <description>&lt;P&gt;What exactly is streamstats? can you clarify with an example?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 14:24:42 GMT</pubDate>
    <dc:creator>bhawkins1</dc:creator>
    <dc:date>2017-01-18T14:24:42Z</dc:date>
    <item>
      <title>What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135561#M37061</link>
      <description>&lt;P&gt;I know that there is a splunk documentation page for the append command, but I have not found any splunk documentation for the appendcols command.  I wonder if there are other less-documented append functions like appendrow.  My question is about the differences and unique strengths of each append* command compared to the others.  Specifically, when would you use appendpipe instead of append and what does appendcol do different than append, etc.?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Append"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Append&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Appendpipe"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Appendpipe&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 14:58:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135561#M37061</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2014-07-09T14:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135562#M37062</link>
      <description>&lt;P&gt;Appendcols is available in splunk documentations @ &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Appendcols"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Appendcols&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 15:03:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135562#M37062</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-09T15:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135563#M37063</link>
      <description>&lt;P&gt;Here is the basic usage of each command per my understanding.&lt;/P&gt;

&lt;P&gt;append - to append the search result of one search with another (new search with/without same number/name of fields) search.&lt;BR /&gt;
Usually to append final result of two searches using different method to arrive to the result (which can't be merged into one search)&lt;BR /&gt;
e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=A | stats count by sourcetype | append [search index=B | stats count by sourcetype]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**sourcetype     count**
SourceTypeA1       10
SourceTypeA2       70
SourceTypeB1       77
SourceTypeB2       70
SourceTypeB3       34
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;appendpipe - to append the search results of post process (subpipeline) of the current resultset to current result set.&lt;BR /&gt;
Typically to add summary of the current result set.&lt;BR /&gt;
e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=B | stats count by sourcetype | appendpipe [|stats sum(count) as count | eval sourcetype="All SourceTypes"]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**sourcetype     count**
SourceTypeB1       77
SourceTypeB2       70
SourceTypeB3       34
All SourceTypes    181
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;appendcols - to append the fields of one search result with other search result. Fields are added row-wise, 1st row of first search will be merged with 1st row of 2nd search.&lt;BR /&gt;
Value of common fields between results will be overwritten by 2nd search result values.&lt;BR /&gt;
Typically to show comparitive analysis of two search results in same table/chart.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=A | timechart span=1d count as CountA| appendcols [search index=B | timechart span=1d count as CountB]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    _time               CountA**   CountB**
7/3/14 12:00:00.000 AM  867    0
7/4/14 12:00:00.000 AM  518    867
7/5/14 12:00:00.000 AM  471    518
7/6/14 12:00:00.000 AM  514    471
7/7/14 12:00:00.000 AM  908    514
7/8/14 12:00:00.000 AM  920    908
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jul 2014 19:46:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135563#M37063</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-09T19:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135564#M37064</link>
      <description>&lt;P&gt;Great explanation! Once again, thanks for the help somesoni2&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 19:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135564#M37064</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-26T19:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135565#M37065</link>
      <description>&lt;P&gt;Thanks... but wish we had an appendpipecols&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:57:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135565#M37065</guid>
      <dc:creator>koprai</dc:creator>
      <dc:date>2015-06-10T18:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135566#M37066</link>
      <description>&lt;P&gt;This is a great explanation. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 18:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135566#M37066</guid>
      <dc:creator>sylax</dc:creator>
      <dc:date>2016-01-15T18:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135567#M37067</link>
      <description>&lt;P&gt;Do you know how to use the results, CountA and CountB to make some calculation? I want to know the %&lt;BR /&gt;
Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 15:14:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135567#M37067</guid>
      <dc:creator>marina_rovira</dc:creator>
      <dc:date>2016-03-11T15:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135568#M37068</link>
      <description>&lt;P&gt;Yes, same here! CountA and CountB and TotalCount to create a column for %CountA and %CountB&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 16:55:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135568#M37068</guid>
      <dc:creator>mhamano</dc:creator>
      <dc:date>2016-03-21T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135569#M37069</link>
      <description>&lt;P&gt;Have you tried something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval countPercentage = countA/countB*100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jan 2017 04:46:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135569#M37069</guid>
      <dc:creator>alexandermunce</dc:creator>
      <dc:date>2017-01-06T04:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135570#M37070</link>
      <description>&lt;P&gt;that's what streamstats is&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 23:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135570#M37070</guid>
      <dc:creator>nabeel652</dc:creator>
      <dc:date>2017-01-16T23:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135571#M37071</link>
      <description>&lt;P&gt;What exactly is streamstats? can you clarify with an example?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135571#M37071</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2017-01-18T14:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135572#M37072</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Streamstats#Basic_examples"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Streamstats#Basic_examples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 22:21:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135572#M37072</guid>
      <dc:creator>altinp</dc:creator>
      <dc:date>2017-06-07T22:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135573#M37073</link>
      <description>&lt;P&gt;Great! Thank you so much&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 09:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135573#M37073</guid>
      <dc:creator>lauraG85</dc:creator>
      <dc:date>2017-08-09T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135574#M37074</link>
      <description>&lt;P&gt;Great! Thank you so much&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 09:02:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135574#M37074</guid>
      <dc:creator>lauraG85</dc:creator>
      <dc:date>2017-08-09T09:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135575#M37075</link>
      <description>&lt;P&gt;Thanks for the explanation. FYI you can use append for sorting initial results from a table and then combine them with results from the same base search; comparing a different value that also needs to be sorted differently.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 12:04:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135575#M37075</guid>
      <dc:creator>Nextbeat</dc:creator>
      <dc:date>2018-04-19T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: What are the differences between append, appendpipe, and appendcols search commands?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135576#M37076</link>
      <description>&lt;P&gt;thank you so much, Nice Explanation.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jul 2018 07:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-the-differences-between-append-appendpipe-and/m-p/135576#M37076</guid>
      <dc:creator>satishachary199</dc:creator>
      <dc:date>2018-07-08T07:10:47Z</dc:date>
    </item>
  </channel>
</rss>

