<?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: subsearch help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56256#M13767</link>
    <description>&lt;P&gt;index=windows sourcetype="wineventlog:application" SourceName=MsiInstaller EventCode=11707 | dedup _raw | rex field=Message "(?s)Product: (?&lt;PRODUCT_NAME&gt;.&lt;EM&gt;) --" | fields product_name [search index=windows sourcetype="wineventlog:application" SourceName=MsiInstaller EventCode=11707 | dedup _raw | rex field=Message "(?s)Product: (?&lt;PRODUCT_NAME&gt;.&lt;/PRODUCT_NAME&gt;&lt;/EM&gt;) --" |fields product_name |format "NOT (" "" "" "" "OR" ")"]&lt;/PRODUCT_NAME&gt;&lt;/P&gt;

&lt;P&gt;getting errors like &lt;/P&gt;

&lt;P&gt;Error in 'fields' command: Invalid argument: 'product_name=Java(TM) 6 Update 43'&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:29:05 GMT</pubDate>
    <dc:creator>mcbradford</dc:creator>
    <dc:date>2020-09-28T13:29:05Z</dc:date>
    <item>
      <title>subsearch help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56254#M13765</link>
      <description>&lt;P&gt;Not sure how to really explain this....&lt;/P&gt;

&lt;P&gt;I would like to look in my windows logs for new installed products and list the products, then look back and see what installed products have never been installed.&lt;/P&gt;

&lt;P&gt;I know how to create the search and I know how to create a subsearch, but how do you search for items that are not in the results of the subsearch?&lt;/P&gt;

&lt;P&gt;For example if I had a search that returned productA, ProductB, ProductC for the current week, and I want to see if any products other than "productA, ProductB, ProductC " were installed last week - how would I go about this?&lt;/P&gt;

&lt;P&gt;I am trying to basically create a whitelist.  I might eventually just make a lookup to take care of this, but I would like to have a search for testing and validation.&lt;/P&gt;

&lt;P&gt;Thanks-&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2013 21:20:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56254#M13765</guid>
      <dc:creator>mcbradford</dc:creator>
      <dc:date>2013-03-08T21:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: subsearch help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56255#M13766</link>
      <description>&lt;P&gt;You negate the subsearch. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;your_main_search [ your_subsearch_with_known_products| format "NOT (" "" "" "" "OR" ")"]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2013 21:27:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56255#M13766</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-03-08T21:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: subsearch help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56256#M13767</link>
      <description>&lt;P&gt;index=windows sourcetype="wineventlog:application" SourceName=MsiInstaller EventCode=11707 | dedup _raw | rex field=Message "(?s)Product: (?&lt;PRODUCT_NAME&gt;.&lt;EM&gt;) --" | fields product_name [search index=windows sourcetype="wineventlog:application" SourceName=MsiInstaller EventCode=11707 | dedup _raw | rex field=Message "(?s)Product: (?&lt;PRODUCT_NAME&gt;.&lt;/PRODUCT_NAME&gt;&lt;/EM&gt;) --" |fields product_name |format "NOT (" "" "" "" "OR" ")"]&lt;/PRODUCT_NAME&gt;&lt;/P&gt;

&lt;P&gt;getting errors like &lt;/P&gt;

&lt;P&gt;Error in 'fields' command: Invalid argument: 'product_name=Java(TM) 6 Update 43'&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:29:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-help/m-p/56256#M13767</guid>
      <dc:creator>mcbradford</dc:creator>
      <dc:date>2020-09-28T13:29:05Z</dc:date>
    </item>
  </channel>
</rss>

