<?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: How to configure the inputs.conf to only allow specific event IDs and only filter on a wildcard username? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346664#M63654</link>
    <description>&lt;P&gt;Did this with props.conf and transforms.conf&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::*:Security]
TRANSFORMS-set = setnull,seclog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[seclog]
REGEX = (?msi)(^EventCode=4634|4632).*(Account\sName:\t\tSUPER.)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is all for testing and obviously needs fine tuning for more appropriate eventID's and message information. Will attempt with different logon types, etc &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?msi)(^EventCode=4634|4624).*(Logon\sType:\t\t[1-3]).*(Account\sName:\t\tSUPER.)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps someone in the future.&lt;BR /&gt;
Cheers!&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 16:59:10 GMT</pubDate>
    <dc:creator>catsmeowor</dc:creator>
    <dc:date>2018-02-08T16:59:10Z</dc:date>
    <item>
      <title>How to configure the inputs.conf to only allow specific event IDs and only filter on a wildcard username?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346661#M63651</link>
      <description>&lt;P&gt;Hi fellas,&lt;/P&gt;

&lt;P&gt;Testing the product out.&lt;BR /&gt;
Have 2012 DC --&amp;gt; UF --&amp;gt; Splunk test environment&lt;/P&gt;

&lt;P&gt;I've figured out how to configure the inputs.conf to only allow specific event IDs through the whitelist&lt;BR /&gt;
Is it possible to also only filter on a wildcard username? Let's say I have an environment where every admin starts with SUPER_ADMIN_X&lt;/P&gt;

&lt;P&gt;Been trying to figure it out with no luck.&lt;/P&gt;

&lt;P&gt;This is what I've been working with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
# only index events with these event IDs.
whitelist = 4624,4634 
Message = Account\sName:\s+*super*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346661#M63651</guid>
      <dc:creator>catsmeowor</dc:creator>
      <dc:date>2020-09-29T17:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure the inputs.conf to only allow specific event IDs and only filter on a wildcard username?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346662#M63652</link>
      <description>&lt;P&gt;I think you are looking for this :&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/Forwarding/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/Forwarding/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 07:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346662#M63652</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-06T07:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure the inputs.conf to only allow specific event IDs and only filter on a wildcard username?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346663#M63653</link>
      <description>&lt;P&gt;Thanks - been down this road - but to no avali.&lt;/P&gt;

&lt;P&gt;Would you happen to have an example of multi-line filtering?&lt;BR /&gt;
Such as&lt;/P&gt;

&lt;P&gt;All Events for 1234, 4321&lt;BR /&gt;
and&lt;BR /&gt;
All those events for a wildcard username "admin_*" for example? &lt;/P&gt;

&lt;P&gt;I haven't had much luck with my googlefu.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 23:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346663#M63653</guid>
      <dc:creator>catsmeowor</dc:creator>
      <dc:date>2018-02-06T23:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure the inputs.conf to only allow specific event IDs and only filter on a wildcard username?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346664#M63654</link>
      <description>&lt;P&gt;Did this with props.conf and transforms.conf&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::*:Security]
TRANSFORMS-set = setnull,seclog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[seclog]
REGEX = (?msi)(^EventCode=4634|4632).*(Account\sName:\t\tSUPER.)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is all for testing and obviously needs fine tuning for more appropriate eventID's and message information. Will attempt with different logon types, etc &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?msi)(^EventCode=4634|4624).*(Logon\sType:\t\t[1-3]).*(Account\sName:\t\tSUPER.)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps someone in the future.&lt;BR /&gt;
Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:59:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-the-inputs-conf-to-only-allow-specific-event/m-p/346664#M63654</guid>
      <dc:creator>catsmeowor</dc:creator>
      <dc:date>2018-02-08T16:59:10Z</dc:date>
    </item>
  </channel>
</rss>

