<?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: Transforms and Props for Linux Syslog Filtering in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/680897#M113759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try the below config in props:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[syslog]
TRANSFORMS-set=set_parse,set_null&lt;/LI-CODE&gt;
&lt;P&gt;As your transforms stanza says&amp;nbsp;&lt;SPAN&gt;set_parse and props&amp;nbsp;set_parsing.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Mar 2024 08:07:49 GMT</pubDate>
    <dc:creator>Sucheta_new</dc:creator>
    <dc:date>2024-03-16T08:07:49Z</dc:date>
    <item>
      <title>Transforms and Props for Linux Syslog Filtering</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660532#M111670</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Our customer has decided to end use of Splunk in lieu of Sumo Logic, but we are looking to keep up internal use of Splunk due to 110GB worth of Perpetual licensing we have leftover.&amp;nbsp; We are currently filtering out non-essentials, and for us one of the big players is linux syslog.&amp;nbsp; I am attempting to use transforms and props to filter out everything that aren't authentication failures.&amp;nbsp; The regular expression is looking for the string of text "authentication failure".&amp;nbsp; I tested my regex in regex101 and everything checks out, but when I turn on the syslog sourcetype, the proverbial flood gates are still opening up.&lt;/P&gt;
&lt;P&gt;Can someone take a look at these and let me know what looks wrong here?&amp;nbsp; The transforms are meant to bring in only events with "authentication failure" and toss out everything else.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Props.conf

[syslog]
TRANSFORMS-set=set_parsing,set_null


Transforms.conf

[set_parse]
REGEX = \bauthentication\b\s\bfailure\b
DEST_KEY = queue
FORMAT = indexQueue

[set_null]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 16 Mar 2024 08:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660532#M111670</guid>
      <dc:creator>gkstev87</dc:creator>
      <dc:date>2024-03-16T08:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms and Props for Linux Syslog Filtering</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660536#M111671</link>
      <description>&lt;P&gt;The regex is looking for 3 characters between "authentication" and "failure", but the event contains only 1.&amp;nbsp; Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = \bauthentication\sfailure\b&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660536#M111671</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-10-12T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms and Props for Linux Syslog Filtering</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660577#M111674</link>
      <description>&lt;P class="lia-align-justify"&gt;Thank you for your help here Rich!&amp;nbsp; I replaced the regex with the one you provided and still am not seeing any data at all.&amp;nbsp; Both my regular expression, as well as the one you provided, worked to locate the string "authentication failure" in regex101.&amp;nbsp; This has left me more or less stumped.&amp;nbsp; It's like the Heavy Forwarder is completely ignoring the "set_parse" setting.&amp;nbsp; Perhaps the issue lies with props.conf?&amp;nbsp; I have use props and transforms before, just not sure what the issue is here.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;What do you think?&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Thanks&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Grant&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 18:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660577#M111674</guid>
      <dc:creator>gkstev87</dc:creator>
      <dc:date>2023-10-12T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms and Props for Linux Syslog Filtering</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660597#M111675</link>
      <description>&lt;P&gt;It's possible Splunk's regex library doesn't handle&lt;FONT face="courier new,courier"&gt; \b&lt;/FONT&gt; well.&amp;nbsp; Is there something else that indicates the start and end of the desired string?&amp;nbsp; Perhaps &lt;FONT face="courier new,courier"&gt;\Wauthentication\sfailure\W&lt;/FONT&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 00:30:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/660597#M111675</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-10-13T00:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms and Props for Linux Syslog Filtering</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/680897#M113759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try the below config in props:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[syslog]
TRANSFORMS-set=set_parse,set_null&lt;/LI-CODE&gt;
&lt;P&gt;As your transforms stanza says&amp;nbsp;&lt;SPAN&gt;set_parse and props&amp;nbsp;set_parsing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2024 08:07:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/680897#M113759</guid>
      <dc:creator>Sucheta_new</dc:creator>
      <dc:date>2024-03-16T08:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms and Props for Linux Syslog Filtering</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/680933#M113762</link>
      <description>&lt;P&gt;Why not just:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = authentication\sfailure&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 17 Mar 2024 05:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-and-Props-for-Linux-Syslog-Filtering/m-p/680933#M113762</guid>
      <dc:creator>jotne</dc:creator>
      <dc:date>2024-03-17T05:47:12Z</dc:date>
    </item>
  </channel>
</rss>

