<?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: Complex Conditional search based on time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Complex-Conditional-search-based-on-time/m-p/375688#M68041</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="WinEventLog:security" sourcetype="wineventlog:security" (EventCode=4625 OR EventCode=4648 OR EventCode=529 OR EventCode=530 OR EventCode=531 OR EventCode=532 OR EventCode=533 OR EventCode=534 OR EventCode=535 OR EventCode=536 OR EventCode=537 OR EventCode=539) 
| strcat Account_Name " " Network_Address Alert_Field
 | stats count by Alert_Field | where count&amp;gt;5 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 03 Jul 2017 18:59:00 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-07-03T18:59:00Z</dc:date>
    <item>
      <title>Complex Conditional search based on time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Complex-Conditional-search-based-on-time/m-p/375687#M68040</link>
      <description>&lt;P&gt;I am a newbie in splunk and practising to learn it slowly.&lt;/P&gt;

&lt;P&gt;I have a setup where I am forwarding logs of Windows Machine to splunk. I practise using this setup.&lt;BR /&gt;
As a practice, I have a use case where I want to trigger an alert if there 5 Failed Logon Attempts (on windows machine) in 30 minutes (or any time range) from Same Account OR Same Network Address.&lt;/P&gt;

&lt;P&gt;I can write the search part to identify failed Logon Attempts on windows, But failing to write the further search query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="WinEventLog:security" sourcetype="wineventlog:security" (EventCode=4625 OR EventCode=4648 OR EventCode=529 OR EventCode=530 OR EventCode=531 OR EventCode=532 OR EventCode=533 OR EventCode=534 OR EventCode=535 OR EventCode=536 OR EventCode=537 OR EventCode=539) 
| stats count by host | where count&amp;gt;5 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I need help regarding the Time Condition and Two subsearches where I can identify Account_Name or Network_Address to be greater than 5&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Complex-Conditional-search-based-on-time/m-p/375687#M68040</guid>
      <dc:creator>ashutoshab</dc:creator>
      <dc:date>2020-09-29T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Conditional search based on time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Complex-Conditional-search-based-on-time/m-p/375688#M68041</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="WinEventLog:security" sourcetype="wineventlog:security" (EventCode=4625 OR EventCode=4648 OR EventCode=529 OR EventCode=530 OR EventCode=531 OR EventCode=532 OR EventCode=533 OR EventCode=534 OR EventCode=535 OR EventCode=536 OR EventCode=537 OR EventCode=539) 
| strcat Account_Name " " Network_Address Alert_Field
 | stats count by Alert_Field | where count&amp;gt;5 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Jul 2017 18:59:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Complex-Conditional-search-based-on-time/m-p/375688#M68041</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-03T18:59:00Z</dc:date>
    </item>
  </channel>
</rss>

