<?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: Determined which host doesnt have a particular software installed in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656911#M226892</link>
    <description>&lt;P&gt;If something is "&lt;SPAN&gt;not giving (you) the correct result," you need to describe what the correct result is. &amp;nbsp;In addition, you &amp;nbsp; Otherwise volunteers will be wasting their time guessing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe you mean the alternative &lt;FONT face="andale mono,times"&gt;NOT DisplayName="Carbon Black Cloud Sensor 64-bit"&lt;/FONT&gt;? Maybe there is something else in the data that you didn't describe that others need to know in order to help?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 05:47:35 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2023-09-07T05:47:35Z</dc:date>
    <item>
      <title>Determined which host doesnt have a particular software installed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656907#M226890</link>
      <description>&lt;P&gt;index=xxxx sourcetype="Script:InstalledApps" DisplayName="Carbon Black Cloud Sensor 64-bit"&lt;/P&gt;&lt;P&gt;I am trying to get the list/name of host that doesnt have Carbon Black installed. Can someone help me with a simple query for this.&amp;nbsp; If I do&amp;nbsp;DisplayName!= and then table the host, it's not giving me the correct result.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 03:51:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656907#M226890</guid>
      <dc:creator>Olatundeny</dc:creator>
      <dc:date>2023-09-07T03:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Determined which host doesnt have a particular software installed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656911#M226892</link>
      <description>&lt;P&gt;If something is "&lt;SPAN&gt;not giving (you) the correct result," you need to describe what the correct result is. &amp;nbsp;In addition, you &amp;nbsp; Otherwise volunteers will be wasting their time guessing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe you mean the alternative &lt;FONT face="andale mono,times"&gt;NOT DisplayName="Carbon Black Cloud Sensor 64-bit"&lt;/FONT&gt;? Maybe there is something else in the data that you didn't describe that others need to know in order to help?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 05:47:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656911#M226892</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-09-07T05:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Determined which host doesnt have a particular software installed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656942#M226906</link>
      <description>&lt;P&gt;Adding to &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt; 's remark - one more thing about the matching logic. Remember that "key!=value" condition is &lt;STRONG&gt;not&lt;/STRONG&gt; the same as "NOT key=value" condition.&lt;/P&gt;&lt;P&gt;The "key!=value" condition will match only events having the key called "key" which have values not matching "value". But the "NOT key=value" will do that but also match all events where the key called "key" is not present at all.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 09:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656942#M226906</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-09-07T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Determined which host doesnt have a particular software installed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656963#M226914</link>
      <description>&lt;P&gt;Thank you. Maybe I am not being clear enough. I apologize.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;index=windowsevent sourcetype="Script:InstalledApps" NOT DisplayName="Carbon Black Cloud Sensor 64-bit"&lt;BR /&gt;| dedup host&lt;BR /&gt;| table host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I ran this, it returns all the host I have in splunk and many of those host have the&amp;nbsp;Carbon Black Cloud installed.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 14:03:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/656963#M226914</guid>
      <dc:creator>Olatundeny</dc:creator>
      <dc:date>2023-09-07T14:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Determined which host doesnt have a particular software installed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/657001#M226927</link>
      <description>&lt;P&gt;And that makes sense. I assume that your script produces several events per host - one for each piece of software installed. So if you just filter the raw events to get only those not being a Carbon Black inventory/installation/whatever report you'll still get all remaining software from that host so this host will still be in your results.&lt;/P&gt;&lt;P&gt;You need to firstly group your results by host and then filter to get only those without Carbon Black&lt;/P&gt;&lt;PRE&gt;index=windowsevent sourcetype="Script:InstalledApps"&lt;BR /&gt;| stats values(DisplayName) as DisplayName by host&lt;BR /&gt;| search NOT DisplayName="Carbon Black*"&lt;/PRE&gt;&lt;P&gt;One additional word of explanation - the last line - the search command makes use of how Splunk processes matching for multivalued fields - it tries every value from a multivalued field to decide whether it can find matching one or not.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 21:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/657001#M226927</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-09-07T21:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Determined which host doesnt have a particular software installed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/657003#M226928</link>
      <description>&lt;P&gt;This works!! Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 21:18:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Determined-which-host-doesnt-have-a-particular-software/m-p/657003#M226928</guid>
      <dc:creator>Olatundeny</dc:creator>
      <dc:date>2023-09-07T21:18:32Z</dc:date>
    </item>
  </channel>
</rss>

