<?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 Monitor Unsuccessful Windows Updates in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292384#M2564</link>
    <description>&lt;P&gt;How to change this search to show Unsuccessful/Failed Windows Updates?&lt;BR /&gt;
    sourcetype=WinEventLog:System EventCode=19  | eval Date=strftime(_time, "%Y/%m/%d") | rex "\WKB(?&lt;KB&gt;.\d+)\W" | eval successRatio=mvindex(split(Keywords,","),-1) | stats count by Date , host, package_title, KB , body , successRatio| sort host&lt;/KB&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:51:42 GMT</pubDate>
    <dc:creator>test_qweqwe</dc:creator>
    <dc:date>2020-09-29T16:51:42Z</dc:date>
    <item>
      <title>Monitor Unsuccessful Windows Updates</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292384#M2564</link>
      <description>&lt;P&gt;How to change this search to show Unsuccessful/Failed Windows Updates?&lt;BR /&gt;
    sourcetype=WinEventLog:System EventCode=19  | eval Date=strftime(_time, "%Y/%m/%d") | rex "\WKB(?&lt;KB&gt;.\d+)\W" | eval successRatio=mvindex(split(Keywords,","),-1) | stats count by Date , host, package_title, KB , body , successRatio| sort host&lt;/KB&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:51:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292384#M2564</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2020-09-29T16:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Unsuccessful Windows Updates</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292385#M2565</link>
      <description>&lt;P&gt;I think your field extractions are different from mine, but I'll take a stab here. You definitely have an issue with the &lt;CODE&gt;rex&lt;/CODE&gt; command, because that's not proper syntax. Give this a shot:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;rex field=Message "\WKB(?&amp;lt;KB&amp;gt;\d+)\W"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you still aren't getting the results you expect, try removing the &lt;CODE&gt;| stats count...&lt;/CODE&gt; portion of the search and ensure that all of the fields you specify are present: &lt;CODE&gt;Date&lt;/CODE&gt;, &lt;CODE&gt;host&lt;/CODE&gt;, &lt;CODE&gt;package_title&lt;/CODE&gt;, &lt;CODE&gt;KB&lt;/CODE&gt;, &lt;CODE&gt;body&lt;/CODE&gt;, and &lt;CODE&gt;successRatio&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 16:09:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292385#M2565</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2017-11-21T16:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Unsuccessful Windows Updates</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292386#M2566</link>
      <description>&lt;P&gt;&lt;CODE&gt;index=* (sourcetype="*WinEventLog:System" OR sourcetype="WindowsUpdateLog") (KB*) | stats latest(status) as lastStatus by _time, dest, signature, signature_id | search lastStatus=failure&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This working&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 19:15:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Monitor-Unsuccessful-Windows-Updates/m-p/292386#M2566</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2017-11-21T19:15:57Z</dc:date>
    </item>
  </channel>
</rss>

