<?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: Mupltiple whitelist in inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686330#M114441</link>
    <description>&lt;P&gt;Hello&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;you're right, in Splunk I have the following error "&lt;SPAN&gt;The regex '((EventCode=(4624|4634|4625)\X*Account Name:(\s+.*\.adm.*))|(EventCode=(4659|4663|5145)\X*Object Name:(\s+.*Test_share.*)))' does not extract anything. It should specify at least one named group. Format: (?&amp;lt;name&amp;gt;...)". I tried also to split the regex in two separated whitelist, but I think they are in AND, so it's not working. Have you some solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 14:48:54 GMT</pubDate>
    <dc:creator>marco_massari11</dc:creator>
    <dc:date>2024-05-03T14:48:54Z</dc:date>
    <item>
      <title>Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686312#M114439</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to monitor two different types of events for some servers, the authentication events (4624,4634,4625) for the admin users and some Event ID related to change events (5145,4663,4659) for a specific path. Baiscally I created a server class for the inputs.conf deployment, adding this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;######&amp;nbsp;OS&amp;nbsp;Logs&amp;nbsp;######&lt;/SPAN&gt;&lt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nbsp;&lt;A href="https://regex101.com/r/LIaMnU/1" target="_blank"&gt;https://regex101.com/r/LIaMnU/1&lt;/A&gt;&amp;nbsp;and it seems working fine, but in Splunk I'm receiving all the events as the whitelist is not applied. Am I missing something?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 May 2024 12:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686312#M114439</guid>
      <dc:creator>marco_massari11</dc:creator>
      <dc:date>2024-05-03T12:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686320#M114440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228757"&gt;@marco_massari11&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;at a first sight the regex isn't correct, what does it happen if you try to use it in search using the regex command?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 13:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686320#M114440</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-03T13:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686330#M114441</link>
      <description>&lt;P&gt;Hello&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;you're right, in Splunk I have the following error "&lt;SPAN&gt;The regex '((EventCode=(4624|4634|4625)\X*Account Name:(\s+.*\.adm.*))|(EventCode=(4659|4663|5145)\X*Object Name:(\s+.*Test_share.*)))' does not extract anything. It should specify at least one named group. Format: (?&amp;lt;name&amp;gt;...)". I tried also to split the regex in two separated whitelist, but I think they are in AND, so it's not working. Have you some solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 14:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686330#M114441</guid>
      <dc:creator>marco_massari11</dc:creator>
      <dc:date>2024-05-03T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686331#M114442</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228757"&gt;@marco_massari11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;identify the three regexes and collect them using .*&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 14:54:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686331#M114442</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-03T14:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686354#M114443</link>
      <description>&lt;P&gt;The whitelist value must be a list of event IDs or one or more key=regex expressions.&amp;nbsp; The current value is just a regular expression, which is not supported.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 16:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686354#M114443</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-05-03T16:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686365#M114444</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;have you any possible solution?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 17:31:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686365#M114444</guid>
      <dc:creator>marco_massari11</dc:creator>
      <dc:date>2024-05-03T17:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686410#M114448</link>
      <description>&lt;P&gt;I don't really have a solution.&amp;nbsp; I was going to suggest multiple white lists, but you said that didn't work for you.&lt;/P&gt;&lt;P&gt;Also, you want to filter on AccountName and ObjectName, but those fields are not supported by whitelist/blacklist.&amp;nbsp; See &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Inputsconf#Event_Log_allow_list_and_deny_list_formats" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Inputsconf#Event_Log_allow_list_and_deny_list_formats &lt;/A&gt;for the list of supported fields.&lt;/P&gt;&lt;P&gt;Consider ingesting the Windows events in XML format and filtering them using the $XmlRegex key.&amp;nbsp; See &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/MonitorWindowseventlogdata#Use_allow_lists_and_deny_lists_to_filter_on_XML-based_events" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/MonitorWindowseventlogdata#Use_allow_lists_and_deny_lists_to_filter_on_XML-based_events&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 12:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686410#M114448</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-05-04T12:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686442#M114456</link>
      <description>&lt;P&gt;As &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt; already pointed out - the format is wrong. You need the key=regex format. And you need to split it into separate whitelist entries (each entry can have multiple key=regex parameters).&lt;/P&gt;&lt;P&gt;The trick here is that Account Name is &lt;EM&gt;not&lt;/EM&gt; a field within the event but a field in the Message field of the event. So you need to match it as a regex within the Message field.&lt;/P&gt;&lt;P&gt;So you'd effectively end up with something like&lt;/P&gt;&lt;PRE&gt;whitelist1 = EventCode=%(4624|4634|4625)% Message=%Account Name:.*\.adm%&lt;BR /&gt;whitelist2 = EventCode=%(4659|4663|5145)% Message=%Object Name:.*Test_share%&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 May 2024 14:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686442#M114456</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-05-05T14:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mupltiple whitelist in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686537#M114464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228757"&gt;@marco_massari11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&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 by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 08:56:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Mupltiple-whitelist-in-inputs-conf/m-p/686537#M114464</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-06T08:56:31Z</dc:date>
    </item>
  </channel>
</rss>

