<?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: Windows Logon_Type in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532468#M150426</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/53970"&gt;@geekf&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;maybe you haven't events with&amp;nbsp;EventCode=4769 AND Logon_Type=3.&lt;/P&gt;&lt;P&gt;To be sure, try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; index=main EventCode=4769 Logon_Type=3&lt;/LI-CODE&gt;&lt;P&gt;have you results?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 13:46:58 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-12-09T13:46:58Z</dc:date>
    <item>
      <title>Windows Logon_Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532466#M150425</link>
      <description>&lt;P&gt;When I am running this search I am not getting the results for EventType=4769:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=main&amp;nbsp;&amp;nbsp;(EventCode=4634 OR EventCode=4624 OR EventCode=4769) Logon_Type!=3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the search index=main (EventCode=4769) OR Logon_Type!=3 I get the results for 4769.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do with the first search to include the results for 4769?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532466#M150425</guid>
      <dc:creator>geekf</dc:creator>
      <dc:date>2020-12-09T13:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Logon_Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532468#M150426</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/53970"&gt;@geekf&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;maybe you haven't events with&amp;nbsp;EventCode=4769 AND Logon_Type=3.&lt;/P&gt;&lt;P&gt;To be sure, try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; index=main EventCode=4769 Logon_Type=3&lt;/LI-CODE&gt;&lt;P&gt;have you results?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532468#M150426</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-12-09T13:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Logon_Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532516#M150433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your prompt response. I am getting results with this search:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main (EventCode=4769) OR Logon_Type!=3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I managed to solve it by using NOT instead of !=.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main  (EventCode=4634 OR EventCode=4624 OR EventCode=4769) Logon_Type!=3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above search is not giving me the results; however, if I use this search, it works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main  (EventCode=4634 OR EventCode=4624 OR EventCode=4769) NOT Logon_Type=3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what was causing this issue:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you search with the&amp;nbsp; !=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;expression, every event that has a value in the field, where that value does not match the value you specify, is returned. Events that do not have a value in the field are not included in the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you search with the NOT operator, every event is returned except the events that contain the value you specify. &lt;STRONG&gt;This includes events that do not have a value in the field.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/Search/NOTexpressions" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/Search/NOTexpressions&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 07:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532516#M150433</guid>
      <dc:creator>geekf</dc:creator>
      <dc:date>2020-12-10T07:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Logon_Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532590#M150452</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/53970"&gt;@geekf&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you!&lt;/P&gt;&lt;P&gt;Please accept the answer for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 07:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-Logon-Type/m-p/532590#M150452</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-12-10T07:19:52Z</dc:date>
    </item>
  </channel>
</rss>

