<?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: APPEND is not UNION? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94186#M24260</link>
    <description>&lt;P&gt;That makes sense. thx.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2013 23:20:52 GMT</pubDate>
    <dc:creator>cpeteman</dc:creator>
    <dc:date>2013-07-02T23:20:52Z</dc:date>
    <item>
      <title>APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94177#M24251</link>
      <description>&lt;P&gt;Splunk version 4.3&lt;/P&gt;

&lt;P&gt;search A : index=webserver1 type=error | table serverName message method&lt;BR /&gt;
search B : index=webserver2 type=error | table serverName message method&lt;BR /&gt;
search C : index=webserver1 type=error | table serverName message method | APPEND [index=webserver2 type=error] | table serverName message method&lt;/P&gt;

&lt;P&gt;search A results is 20.&lt;BR /&gt;
search B results is 0.&lt;BR /&gt;
search C results is 0. Why?&lt;/P&gt;

&lt;P&gt;I expected results is 20+0=20.&lt;/P&gt;

&lt;P&gt;Thanks. Everyone&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 22:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94177#M24251</guid>
      <dc:creator>joy76</dc:creator>
      <dc:date>2012-03-15T22:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94178#M24252</link>
      <description>&lt;P&gt;there is an error in search C, try this:&lt;/P&gt;

&lt;P&gt;index=webserver1 type=error  | APPEND [search index=webserver2 type=error] | table serverName message method&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 10:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94178#M24252</guid>
      <dc:creator>imrago</dc:creator>
      <dc:date>2012-03-16T10:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94179#M24253</link>
      <description>&lt;P&gt;Technically two errors but you fixed them both.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2013 20:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94179#M24253</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-06-28T20:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94180#M24254</link>
      <description>&lt;P&gt;There are two Problems here. The first is that in a subsearch you need to actually write out 'search' in the beginning. Also the order should be different. You first need to append them and the make it a table you can't append a table with a search. Hope this works:&lt;/P&gt;

&lt;P&gt;search C: index=webserver1 type=error | append [search index=webserver2 type=error] | table serverName message method&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2013 20:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94180#M24254</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-06-28T20:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94181#M24255</link>
      <description>&lt;P&gt;Note it makes no sense to run search C.   Instead you would run: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;(index=webserver1 OR index=webserver2) type=error | table serverName message method&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and this will run much faster than using append.  Append should be used only as a last resort when faster simpler methods fail.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2013 04:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94181#M24255</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-06-29T04:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94182#M24256</link>
      <description>&lt;P&gt;Good point.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 22:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94182#M24256</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-07-01T22:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94183#M24257</link>
      <description>&lt;P&gt;No reason to write out more than needed&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 22:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94183#M24257</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-07-01T22:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94184#M24258</link>
      <description>&lt;P&gt;Sorry one last comment. Are the parens necessary here? I'm aware of the inherent AND but would:&lt;BR /&gt;
  index=webserver1 OR index=webserver2 type=error | table serverName message method&lt;BR /&gt;
work the same?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 22:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94184#M24258</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-07-01T22:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94185#M24259</link>
      <description>&lt;P&gt;No, they're not necessary in the language.  But when there's ambiguity, once in a while people do misinterpret what the search is doing, so I like to put in the parentheses when there's ambiguity.   Along the same lines as the principle of not writing the most advanced code you can - if you do that then only some as good as you or better can read it.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 23:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94185#M24259</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-07-01T23:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94186#M24260</link>
      <description>&lt;P&gt;That makes sense. thx.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 23:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94186#M24260</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-07-02T23:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94187#M24261</link>
      <description>&lt;P&gt;Thanks for you help.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 04:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94187#M24261</guid>
      <dc:creator>joy76</dc:creator>
      <dc:date>2013-08-08T04:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94188#M24262</link>
      <description>&lt;P&gt;Sure thing.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 15:02:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94188#M24262</guid>
      <dc:creator>cpeteman</dc:creator>
      <dc:date>2013-08-08T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND is not UNION?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94189#M24263</link>
      <description>&lt;P&gt;should be accepted answer&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 11:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/APPEND-is-not-UNION/m-p/94189#M24263</guid>
      <dc:creator>morethanyell</dc:creator>
      <dc:date>2018-09-07T11:56:43Z</dc:date>
    </item>
  </channel>
</rss>

