<?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: Prevent events with a specfic IP or Workstation name from being ingested. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690336#M114870</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/40393"&gt;@sswigart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;as also&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263242"&gt;@dtburrows3&lt;/a&gt;&amp;nbsp;said, SED-CMD removes a part of the event, not the entire event.&lt;/P&gt;&lt;P&gt;If you want to remove the full event before indexing see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 13:37:19 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-06-11T13:37:19Z</dc:date>
    <item>
      <title>Prevent events with a specfic IP or Workstation name from being ingested.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690274#M114863</link>
      <description>&lt;P&gt;I use Splunk to ingest events from the windows Security, Application and System event logs. We have a scanner that is very noisy and I would like for Splunk not ingest the events that the scanner creates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried without success to use SEDCMD on my indexer's Props.conf:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SEDCMD-Remove_Scanner_IP_Address = s/\b12\.34\.567\.89\b//g

SEDCMD-Remove_Scanner_Host_Name = s/Workstation_Name\s*=\s*scanner-name01\s*//g

&lt;/LI-CODE&gt;
&lt;P&gt;I have also tried to blacklist the IP&amp;nbsp;on each of the host's Splunk UF inputs.conf file:&lt;/P&gt;
&lt;P&gt;blacklist = 12\.34\.567\.89&lt;/P&gt;
&lt;P&gt;Would appreciate any assistance\suggestions given.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 16:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690274#M114863</guid>
      <dc:creator>sswigart</dc:creator>
      <dc:date>2024-06-11T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent events with a specfic IP or Workstation name from being ingested.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690277#M114864</link>
      <description>&lt;P&gt;I believe the SEDCMD in props.conf will only replace the substring that is matched with the specified regex. It sounds like you need to have the entire event containing the matched regex to not be indexed at all.&lt;BR /&gt;&lt;BR /&gt;If that is the case then you could set up a props/transform to route those events to nullQueue.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 21:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690277#M114864</guid>
      <dc:creator>dtburrows3</dc:creator>
      <dc:date>2024-06-10T21:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent events with a specfic IP or Workstation name from being ingested.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690336#M114870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/40393"&gt;@sswigart&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;as also&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263242"&gt;@dtburrows3&lt;/a&gt;&amp;nbsp;said, SED-CMD removes a part of the event, not the entire event.&lt;/P&gt;&lt;P&gt;If you want to remove the full event before indexing see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 13:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-events-with-a-specfic-IP-or-Workstation-name-from-being/m-p/690336#M114870</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-06-11T13:37:19Z</dc:date>
    </item>
  </channel>
</rss>

