<?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 How do you filter custom events in Windows Security log using regular expression in blacklist? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-filter-custom-events-in-Windows-Security-log-using/m-p/427724#M74934</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have Splunk Enterprise 7.2 with Deployment Server role and Splunk Universal forwarder on a Windows SQL server.&lt;/P&gt;

&lt;P&gt;The SQL server has custom event in Windows Security Log.&lt;/P&gt;

&lt;P&gt;Below is a portion of the Event Message.&lt;/P&gt;

&lt;P&gt;I need to create the blacklist entry in the inputs.conf file to filter out events where two patterns are match ing at the same time.&lt;/P&gt;

&lt;P&gt;"class_type:LX" AND "server_principal_name:DOMAIN1\"&lt;BR /&gt;
The second pattern is 3 lines below of the first pattern.&lt;/P&gt;

&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Joseph&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;session_id:174
server_principal_id:274
database_principal_id:0
target_server_principal_id:0
target_database_principal_id:0
object_id:0
user_defined_event_id:0
transaction_id:0
class_type:LX
permission_bitmask:00000000000000000000000000000000
sequence_group_id:A842D899-40A5-491E-886C-A8E7F7682BDD
session_server_principal_name:DOMAIN1\sqlservice
server_principal_name:DOMAIN1\sqlservice
server_principal_sid:010500000000000515000000093a2a243fad146207e53b2b2f0a0000
database_principal_name:
target_server_principal_name:
target_server_principal_sid:
target_database_principal_name:
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:57:18 GMT</pubDate>
    <dc:creator>jzinguer</dc:creator>
    <dc:date>2020-09-29T22:57:18Z</dc:date>
    <item>
      <title>How do you filter custom events in Windows Security log using regular expression in blacklist?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-filter-custom-events-in-Windows-Security-log-using/m-p/427724#M74934</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have Splunk Enterprise 7.2 with Deployment Server role and Splunk Universal forwarder on a Windows SQL server.&lt;/P&gt;

&lt;P&gt;The SQL server has custom event in Windows Security Log.&lt;/P&gt;

&lt;P&gt;Below is a portion of the Event Message.&lt;/P&gt;

&lt;P&gt;I need to create the blacklist entry in the inputs.conf file to filter out events where two patterns are match ing at the same time.&lt;/P&gt;

&lt;P&gt;"class_type:LX" AND "server_principal_name:DOMAIN1\"&lt;BR /&gt;
The second pattern is 3 lines below of the first pattern.&lt;/P&gt;

&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Joseph&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;session_id:174
server_principal_id:274
database_principal_id:0
target_server_principal_id:0
target_database_principal_id:0
object_id:0
user_defined_event_id:0
transaction_id:0
class_type:LX
permission_bitmask:00000000000000000000000000000000
sequence_group_id:A842D899-40A5-491E-886C-A8E7F7682BDD
session_server_principal_name:DOMAIN1\sqlservice
server_principal_name:DOMAIN1\sqlservice
server_principal_sid:010500000000000515000000093a2a243fad146207e53b2b2f0a0000
database_principal_name:
target_server_principal_name:
target_server_principal_sid:
target_database_principal_name:
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-filter-custom-events-in-Windows-Security-log-using/m-p/427724#M74934</guid>
      <dc:creator>jzinguer</dc:creator>
      <dc:date>2020-09-29T22:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do you filter custom events in Windows Security log using regular expression in blacklist?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-filter-custom-events-in-Windows-Security-log-using/m-p/427725#M74935</link>
      <description>&lt;P&gt;It looks like the blacklist record below in the inputs.conf file is working for me:&lt;BR /&gt;
blacklist = Message="(?si)(\bclass_type:LX.+(?=\bserver_principal_name:DOMAIN1.+))"&lt;BR /&gt;
Any comments are welcome. I am not sure if this will be the best option.&lt;BR /&gt;
Cheers.&lt;BR /&gt;
Joseph&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-filter-custom-events-in-Windows-Security-log-using/m-p/427725#M74935</guid>
      <dc:creator>jzinguer</dc:creator>
      <dc:date>2020-09-29T22:59:38Z</dc:date>
    </item>
  </channel>
</rss>

