<?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: Exclude some events from being indexed in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/758603#M23921</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;the issue is definitely your regex.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;This part is wrong:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;192\.168.\1\.1 &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;U&gt;&lt;CODE&gt;\1&lt;/CODE&gt; &lt;FONT color="#0000FF"&gt;doesn’t make sense there unless you previously captured something. You just want to match the literal IP. To drop all events containing&lt;/FONT&gt; &lt;A href="https://router-19216811.com/" target="_self"&gt;&lt;STRONG&gt;&lt;FONT color="#808080"&gt;&lt;FONT color="#0000FF"&gt;192.168.1.1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt;, &lt;FONT color="#0000FF"&gt;your &lt;CODE&gt;transforms.conf&lt;/CODE&gt; should look like this&lt;/FONT&gt;:&lt;/U&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[null_1]&lt;/SPAN&gt; &lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = &lt;SPAN class=""&gt;192&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;168&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt; &lt;SPAN class=""&gt;DEST_KEY&lt;/SPAN&gt; = queue &lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt; = nullQueue &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That will drop any event that contains that IP anywhere in the line.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;If instead you want to drop all traffic with &lt;STRONG&gt;port 123&lt;/STRONG&gt;, and assuming the port appears as a full field like in your example:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000FF"&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;...,192.168.1.1,192.168.6.225,123,123,... &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;You can match it like this:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000FF"&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = ,&lt;SPAN class=""&gt;123&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That makes sure you’re matching the port field and not something random like part of another number.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;If you want to drop events that contain &lt;STRONG&gt;either&lt;/STRONG&gt; that IP or port 123, you can combine them:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000FF"&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = &lt;SPAN class=""&gt;192&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;168&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;|,&lt;SPAN class=""&gt;123&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That’s all you need.&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sat, 21 Feb 2026 20:59:21 GMT</pubDate>
    <dc:creator>SteveSmi</dc:creator>
    <dc:date>2026-02-21T20:59:21Z</dc:date>
    <item>
      <title>Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347110#M6543</link>
      <description>&lt;P&gt;Calling all regex gurus!&lt;/P&gt;

&lt;P&gt;I’m trying to drop all traffic with a certain IP (192.168.1.1) or a certain port number (123). This is what the log looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2017-08-03 10:39:19,2017-08-03 10:39:19,0.000,192.168.1.1,192.168.6.225,123,123,,....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I found an answer for a way to do this (&lt;A href="https://answers.splunk.com/answers/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk.html"&gt;https://answers.splunk.com/answers/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk.html&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;This is what I have for my props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/some/directory/in/splunk]
TRANSFORMS-set = null_1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[null_1]
REGEX = 192\.168.\1\.1
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I’m pretty sure the problem is with the regex, but I don’t have any regex skill whatsoever. Dropping all port 123 traffic would work as well.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347110#M6543</guid>
      <dc:creator>pil321</dc:creator>
      <dc:date>2017-08-03T13:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347111#M6544</link>
      <description>&lt;P&gt;your regexp has a typo, it should be:&lt;/P&gt;

&lt;PRE&gt;
REGEX = 192\\.168\\.1\\.1
&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://regex101.com"&gt;regex010&lt;/A&gt; ist one of the helpful online regular expressions checkers&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:33:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347111#M6544</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2017-08-03T13:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347112#M6545</link>
      <description>&lt;P&gt;I didn't test it myself, but a quick spot you missed a "\" in before one of the dots. may be you can try this one. I added "," as well to make sure it is getting from the right place.&lt;/P&gt;

&lt;P&gt;[null_1]&lt;BR /&gt;
 REGEX = ,192\.168\.1\.1,&lt;BR /&gt;
 DEST_KEY = queue&lt;BR /&gt;
 FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347112#M6545</guid>
      <dc:creator>bheemireddi</dc:creator>
      <dc:date>2020-09-29T15:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347113#M6546</link>
      <description>&lt;P&gt;Yep...I went there. The thing is...my expression also works on that site. The &lt;CODE&gt;\.&lt;/CODE&gt; is meant to literally match the &lt;CODE&gt;.&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;In your case the &lt;CODE&gt;.&lt;/CODE&gt; is matching everything after the numbers....so your expression works as well.&lt;/P&gt;

&lt;P&gt;I can give your expression a try and see.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347113#M6546</guid>
      <dc:creator>pil321</dc:creator>
      <dc:date>2017-08-03T13:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347114#M6547</link>
      <description>&lt;P&gt;Sorry folks....the typo was on the code in the post...not on the actual configs!&lt;/P&gt;

&lt;P&gt;This is what I have in the configs: &lt;CODE&gt;192\.168\.1\.1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:49:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347114#M6547</guid>
      <dc:creator>pil321</dc:creator>
      <dc:date>2017-08-03T13:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347115#M6548</link>
      <description>&lt;P&gt;I'd try &lt;/P&gt;

&lt;PRE&gt;REGEX = .\*192\\.168\\.1\\.1.\*&lt;/PRE&gt;

&lt;P&gt;but the .* should not be needed, so eventually a config wich is not seen or overriden, did you try btool to verify the configuration?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347115#M6548</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2017-08-03T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347116#M6549</link>
      <description>&lt;P&gt;try this&lt;/P&gt;

&lt;P&gt;[source::/some/directory/in/splunk]&lt;BR /&gt;
 TRANSFORMS-null = setnull&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = \,192\.168\.1\.1\,&lt;BR /&gt;&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;---- or  -----&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX =\d+-\d+-d+\s\d+:\d+:\d+\,\d+-\d+-d+\s\d+:\d+:\d+\, \,192\.168\.1\.1\,&lt;BR /&gt;&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347116#M6549</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-08-03T14:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347117#M6550</link>
      <description>&lt;P&gt;pil321,&lt;BR /&gt;
anything with .* may be matching with lot more stuff than you think, to be precise if you just want to match with an IP address field, I wouldn't use .*&lt;BR /&gt;
I just did a quick test  and below regex should solve yours, if all you are looking to drop the events with that IP match 192\.168\.1\.1&lt;/P&gt;

&lt;P&gt;[null_1]&lt;BR /&gt;
REGEX = ,192\.168\.1\.1,&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347117#M6550</guid>
      <dc:creator>bheemireddi</dc:creator>
      <dc:date>2020-09-29T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347118#M6551</link>
      <description>&lt;P&gt;This was configured on the indexer ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347118#M6551</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2017-08-03T14:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347119#M6552</link>
      <description>&lt;P&gt;Hi pil321,&lt;BR /&gt;
I usually use sourcetype in filters to be sure that it runs!&lt;BR /&gt;
So try something like this:&lt;/P&gt;

&lt;P&gt;in &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
TRANSFORMS-set-exclude=set_exclude,set_nullqueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[set_exclude]
REGEX=.
DEST_KEY = queue
FORMAT = indexQueue
[set_nullqueue]
REGEX=(192\.168\.1\.1)|(,123,)
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347119#M6552</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-03T15:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347120#M6553</link>
      <description>&lt;P&gt;Hi pil321,&lt;BR /&gt;
I usually use sourcetype in filters to be sure that it runs!&lt;BR /&gt;
So try something like this:&lt;/P&gt;

&lt;P&gt;in &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
TRANSFORMS-set-exclude=set_exclude,set_nullqueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[set_exclude]
REGEX=.
DEST_KEY = queue
FORMAT = indexQueue
[set_nullqueue]
REGEX=(192\.168\.1\.1)|(,123,)
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/347120#M6553</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-03T15:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some events from being indexed</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/758603#M23921</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;the issue is definitely your regex.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;This part is wrong:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;192\.168.\1\.1 &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;U&gt;&lt;CODE&gt;\1&lt;/CODE&gt; &lt;FONT color="#0000FF"&gt;doesn’t make sense there unless you previously captured something. You just want to match the literal IP. To drop all events containing&lt;/FONT&gt; &lt;A href="https://router-19216811.com/" target="_self"&gt;&lt;STRONG&gt;&lt;FONT color="#808080"&gt;&lt;FONT color="#0000FF"&gt;192.168.1.1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt;, &lt;FONT color="#0000FF"&gt;your &lt;CODE&gt;transforms.conf&lt;/CODE&gt; should look like this&lt;/FONT&gt;:&lt;/U&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[null_1]&lt;/SPAN&gt; &lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = &lt;SPAN class=""&gt;192&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;168&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt; &lt;SPAN class=""&gt;DEST_KEY&lt;/SPAN&gt; = queue &lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt; = nullQueue &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That will drop any event that contains that IP anywhere in the line.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;If instead you want to drop all traffic with &lt;STRONG&gt;port 123&lt;/STRONG&gt;, and assuming the port appears as a full field like in your example:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000FF"&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;...,192.168.1.1,192.168.6.225,123,123,... &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;You can match it like this:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000FF"&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = ,&lt;SPAN class=""&gt;123&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That makes sure you’re matching the port field and not something random like part of another number.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;If you want to drop events that contain &lt;STRONG&gt;either&lt;/STRONG&gt; that IP or port 123, you can combine them:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000FF"&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = &lt;SPAN class=""&gt;192&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;168&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;\.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;|,&lt;SPAN class=""&gt;123&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That’s all you need.&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Feb 2026 20:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Exclude-some-events-from-being-indexed/m-p/758603#M23921</guid>
      <dc:creator>SteveSmi</dc:creator>
      <dc:date>2026-02-21T20:59:21Z</dc:date>
    </item>
  </channel>
</rss>

