<?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 Setting-up an Alert for Computer Booting in Safe Mode in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364893#M6422</link>
    <description>&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt;&lt;BR /&gt;
I'm attempting to setup an alert for if one of my forwarder machines boots in Safe Mode. The data that's retrieved from Windows Event Viewer and Splunk Web Interface regarding booting-ups is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EventCode=12
EventType=4
Source: Kernal-General
Message: The operating system started at system time &amp;lt;respected time stamp&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unfortunately, the above data is the same for &lt;EM&gt;both&lt;/EM&gt; booting normally and booting in Safe Mode. The only way I can tell which is which, is from within the Windows Event Viewer, under the log's "Details", the variable BootMode will contain either a value of '0' for normal boot, or a value of '1' for Safe Mode boot.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3104i9552440D44C4780F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The Question:&lt;/STRONG&gt;&lt;BR /&gt;
Is there a way (in Splunk) that I can search for this particular "BootMode" variable with its respected value? Otherwise, perhaps a different way to capture an event for Safe Mode Boot-ups?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 17:17:06 GMT</pubDate>
    <dc:creator>drizzo</dc:creator>
    <dc:date>2017-06-27T17:17:06Z</dc:date>
    <item>
      <title>Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364893#M6422</link>
      <description>&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt;&lt;BR /&gt;
I'm attempting to setup an alert for if one of my forwarder machines boots in Safe Mode. The data that's retrieved from Windows Event Viewer and Splunk Web Interface regarding booting-ups is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EventCode=12
EventType=4
Source: Kernal-General
Message: The operating system started at system time &amp;lt;respected time stamp&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unfortunately, the above data is the same for &lt;EM&gt;both&lt;/EM&gt; booting normally and booting in Safe Mode. The only way I can tell which is which, is from within the Windows Event Viewer, under the log's "Details", the variable BootMode will contain either a value of '0' for normal boot, or a value of '1' for Safe Mode boot.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3104i9552440D44C4780F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The Question:&lt;/STRONG&gt;&lt;BR /&gt;
Is there a way (in Splunk) that I can search for this particular "BootMode" variable with its respected value? Otherwise, perhaps a different way to capture an event for Safe Mode Boot-ups?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 17:17:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364893#M6422</guid>
      <dc:creator>drizzo</dc:creator>
      <dc:date>2017-06-27T17:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364894#M6423</link>
      <description>&lt;P&gt;do you know how you are collecting event log data?  I don't have windows data in front of me at the moment, but if the forwarder is configured to ingest event log data, you should have more in the event than your top screenshot.  Not sure if you are actually searching the logs in Splunk or maybe just using a dashboard that was made available to you?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2017 13:00:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364894#M6423</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2017-07-01T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364895#M6424</link>
      <description>&lt;P&gt;@drizzo, you would need to switch Event Log data from User Friendly log to XML while indexing for achieving this. &lt;CODE&gt;renderXML = 1&lt;/CODE&gt;&lt;BR /&gt;
Following needs to be added to your existing Windows Security Event Log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
renderXml = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since data is in XML you will not have search fields extracted by default. (I think it will impact your whitelist and/or blacklist as well leading to increased disc space utilization because of XML Data and additional events. If it is required, maybe you can use nullQueues to filter only required events)&lt;/P&gt;

&lt;P&gt;I have attached a sample query to Filter EventID 12 and extract BootMode.&lt;BR /&gt;
Refer to documentation for details: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorWindowseventlogdata#Disable_an_event_log_stanza"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorWindowseventlogdata#Disable_an_event_log_stanza&lt;/A&gt;&lt;BR /&gt;
&lt;IMG src="https://wiki.splunk.com/images/1/1e/Windows_BootMode.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 05:01:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364895#M6424</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-02T05:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364896#M6425</link>
      <description>&lt;P&gt;I have it configured to take pretty much every type of Event Log whether if it is Security, System, Application, or general performance. The picture above is just a screenshot of me narrowing it down for my post.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 10:58:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364896#M6425</guid>
      <dc:creator>drizzo</dc:creator>
      <dc:date>2017-07-03T10:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364897#M6426</link>
      <description>&lt;P&gt;ah ok.  I have a windows machine in front of me now and see it's not there.  I'd say give niketnilay's answer a shot.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 11:06:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364897#M6426</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2017-07-03T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364898#M6427</link>
      <description>&lt;P&gt;@drizzo, Please try out the answer and accept if this works as you expected.&lt;BR /&gt;
Unfortunately the image did not get uploaded first time. I have uploaded the same again!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364898#M6427</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-03T12:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364899#M6428</link>
      <description>&lt;P&gt;Yes, thank you. I had my input file variable renderXml=1 which was under [WinEventLog://Security]. However with some tweaking we figured out that I had to change my search type to XmlWinEventLog:System . Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:20:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364899#M6428</guid>
      <dc:creator>drizzo</dc:creator>
      <dc:date>2017-07-03T12:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364900#M6429</link>
      <description>&lt;P&gt;Yes, just needed time to test things out.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 14:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364900#M6429</guid>
      <dc:creator>drizzo</dc:creator>
      <dc:date>2017-07-03T14:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting-up an Alert for Computer Booting in Safe Mode</title>
      <link>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364901#M6430</link>
      <description>&lt;P&gt;Yay!!! Glad it worked. Hope your sourcetype is being passed through macro or eventtype so that the change the same at a single place.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 01:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Setting-up-an-Alert-for-Computer-Booting-in-Safe-Mode/m-p/364901#M6430</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-04T01:54:00Z</dc:date>
    </item>
  </channel>
</rss>

