<?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: Only index events that match criteria in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754533#M119780</link>
    <description>&lt;P&gt;In the end this is what worked&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;## &amp;nbsp;Version 10/20/2025 16:00&lt;/P&gt;&lt;P&gt;[source::...Unix:Service]&lt;BR /&gt;TRANSFORMS-set= setnull,setparsing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;## &amp;nbsp;Version 10/20/2025 16:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[setparsing]&lt;BR /&gt;## &amp;nbsp;The list of services to index in alphabetical order&lt;/P&gt;&lt;P&gt;REGEX=auditd\.service|iptables\.service|journald\.service|nftables\.service|rsylog\.service||sysstat\.serviceDEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2025 14:22:14 GMT</pubDate>
    <dc:creator>cdevoe57</dc:creator>
    <dc:date>2025-10-21T14:22:14Z</dc:date>
    <item>
      <title>Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754442#M119769</link>
      <description>&lt;P&gt;I am using the TA_nix addon to get information about the services on the servers.&amp;nbsp; &amp;nbsp;I am only interested in indexing 10 of the 150 services.&lt;/P&gt;&lt;P&gt;My setup is as follows&lt;/P&gt;&lt;P&gt;Server UF --&amp;gt; HF --&amp;gt; 3 node index cluster&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to filter&amp;nbsp; out the events at the HF&lt;/P&gt;&lt;P&gt;These are the&amp;nbsp; props and transforms files&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;props.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;[source :: Unix:Service]&lt;BR /&gt;TRANSFORMS-set= setnull,setparsing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;transforms.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;REGEX = .&lt;BR /&gt;&lt;SPAN&gt;DEST_KEY = queue&lt;BR /&gt;&lt;/SPAN&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[setparsing]&lt;BR /&gt;REGEX = \[sshd\]&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;&lt;P&gt;Eventually I will set it to allow several services, sshd, auditd, etc.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm not sure what I am doing wrong here or missing.&amp;nbsp; But this is not working&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 23:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754442#M119769</guid>
      <dc:creator>cdevoe57</dc:creator>
      <dc:date>2025-10-17T23:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754443#M119770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/139005"&gt;@cdevoe57&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I check where you have applied the props/transforms?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this setup it should be applied to the HF.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 10:06:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754443#M119770</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-10-18T10:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754448#M119771</link>
      <description>&lt;P&gt;I don't recall the details of the TA_nix but I'm pretty sure that&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[source :: Unix:Service]&lt;/PRE&gt;&lt;P&gt;is wrong.&lt;/P&gt;&lt;P&gt;Firstly, there shouldn't be spaces in the stanza name. But that might just be a copy-pasting error.&lt;/P&gt;&lt;P&gt;Secondly, if I remember correctly, you get a script name as source. Unix:Service looks more like a sourcetype name (but I don't recall such sourcetype either). How did you come up with this?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 16:50:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754448#M119771</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-10-18T16:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754449#M119772</link>
      <description>&lt;P&gt;I suggest using Ingest Actions (IA) to filter out the unwanted events.&amp;nbsp; IA uses transforms, but has an easy-to-use UI that lets you test your regular expressions before submitting them.&lt;/P&gt;&lt;P&gt;You can implement IA on your HF or indexers if the GUI is enabled).&amp;nbsp; If the GUI is not enabled, set up the rules on a search head and copy the resulting transforms (they will be 'ruleset' settings) to the HF.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 18:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754449#M119772</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-10-18T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754459#M119773</link>
      <description>&lt;P&gt;Just to nitpick a little. Ingest Actions are a wrapper for RULESET functionality, not TRANSFORMS.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Oct 2025 06:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754459#M119773</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-10-19T06:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754478#M119775</link>
      <description>&lt;P&gt;It is being applied on the HF&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 06:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754478#M119775</guid>
      <dc:creator>cdevoe57</dc:creator>
      <dc:date>2025-10-20T06:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754479#M119776</link>
      <description>&lt;P&gt;I tried it with and without the spaces.&amp;nbsp; I will remove them.&lt;BR /&gt;&lt;BR /&gt;As for the Unix:Service I got that by doing a query and looking at the source.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 06:22:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754479#M119776</guid>
      <dc:creator>cdevoe57</dc:creator>
      <dc:date>2025-10-20T06:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754485#M119777</link>
      <description>&lt;P&gt;Yeah, I rechecked and there is indeed that source (and sourcetype) for the service.sh scripted input.&lt;/P&gt;&lt;P&gt;But there definitely should _not_ be a space there.&lt;/P&gt;&lt;P&gt;Also - if you look into the default props.conf supplied by the addon, matching to source is done by&lt;/P&gt;&lt;PRE&gt;[source::...Unix:Service]&lt;/PRE&gt;&lt;P&gt;I'm not sure why, to be honest.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 13:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754485#M119777</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-10-20T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754487#M119778</link>
      <description>&lt;P&gt;That in fact worked.&amp;nbsp; Thanks.&lt;BR /&gt;&lt;BR /&gt;Now to get the regex&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 14:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754487#M119778</guid>
      <dc:creator>cdevoe57</dc:creator>
      <dc:date>2025-10-20T14:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Only index events that match criteria</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754533#M119780</link>
      <description>&lt;P&gt;In the end this is what worked&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;## &amp;nbsp;Version 10/20/2025 16:00&lt;/P&gt;&lt;P&gt;[source::...Unix:Service]&lt;BR /&gt;TRANSFORMS-set= setnull,setparsing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;## &amp;nbsp;Version 10/20/2025 16:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[setparsing]&lt;BR /&gt;## &amp;nbsp;The list of services to index in alphabetical order&lt;/P&gt;&lt;P&gt;REGEX=auditd\.service|iptables\.service|journald\.service|nftables\.service|rsylog\.service||sysstat\.serviceDEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 14:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Only-index-events-that-match-criteria/m-p/754533#M119780</guid>
      <dc:creator>cdevoe57</dc:creator>
      <dc:date>2025-10-21T14:22:14Z</dc:date>
    </item>
  </channel>
</rss>

