<?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: Subtract results of subquery from main query in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498430#M61328</link>
    <description>&lt;P&gt;You gotta do it outside of the subsearch like such. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search abc.csv |table name  [search xxx.csv |table name ]
| eval new_field=name_one-name_two
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 30 Jan 2020 19:21:36 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2020-01-30T19:21:36Z</dc:date>
    <item>
      <title>Subtract results of subquery from main query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498429#M61327</link>
      <description>&lt;P&gt;Hi Wanted to subract the subquery results from main query. i.e &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source=/folder/abc.csv  |table customername - [index=main source=/folder/xxx.csv |table name ] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;can this be achievable ? i want to get only the names which are not common from both the files.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 19:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498429#M61327</guid>
      <dc:creator>raghu0463</dc:creator>
      <dc:date>2020-01-30T19:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract results of subquery from main query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498430#M61328</link>
      <description>&lt;P&gt;You gotta do it outside of the subsearch like such. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search abc.csv |table name  [search xxx.csv |table name ]
| eval new_field=name_one-name_two
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Jan 2020 19:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498430#M61328</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2020-01-30T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract results of subquery from main query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498431#M61329</link>
      <description>&lt;P&gt;I apologize, there's small change in my question &lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 19:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498431#M61329</guid>
      <dc:creator>raghu0463</dc:creator>
      <dc:date>2020-01-30T19:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract results of subquery from main query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498432#M61330</link>
      <description>&lt;P&gt;hi skoelpin, &lt;BR /&gt;
im getting the below error&lt;/P&gt;

&lt;P&gt;" 'table' command: Invalid argument: 'name=swbsubwg361'"&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 19:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498432#M61330</guid>
      <dc:creator>raghu0463</dc:creator>
      <dc:date>2020-01-30T19:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract results of subquery from main query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498433#M61331</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=main source=/folder/abc.csv OR source=/folder/xxx.csv
| eval name=coalesce(name,customername)  
| eventstats dc(source) as flag by name
| where flag=1 AND source="/folder/abc.csv"
| table name   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, how about this?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 21:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Subtract-results-of-subquery-from-main-query/m-p/498433#M61331</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-30T21:59:59Z</dc:date>
    </item>
  </channel>
</rss>

