<?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: How to mask the verificaition code using props and transforms in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671599#M112566</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/95912"&gt;@abhi04&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>Tue, 12 Dec 2023 15:35:20 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-12-12T15:35:20Z</dc:date>
    <item>
      <title>How to mask the verificaition code using props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671500#M112554</link>
      <description>&lt;P&gt;How can I mask the verfiication code using props/transforms?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;body&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Verification&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;Code:&lt;/SPAN&gt;&amp;nbsp;123456&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to mask the code using props and transforms using below format, not sure how the search spl regex is different than regex in transforms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;props.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[source::abc]&lt;BR /&gt;TRANSFORMS-anonymize = abc-anonymizer&lt;/P&gt;&lt;P&gt;transforms.conf&lt;BR /&gt;[abc-anonymizer]&lt;BR /&gt;DEST_KEY = _raw&lt;BR /&gt;REGEX =&amp;nbsp;&lt;BR /&gt;FORMAT = $1######$2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 23:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671500#M112554</guid>
      <dc:creator>abhi04</dc:creator>
      <dc:date>2023-12-11T23:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask the verificaition code using props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671502#M112555</link>
      <description>&lt;P&gt;Why use both props AND transforms when you can do it with just props?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::abc]
SEDCMD-anonymizer = s/Verification Code: \d+"/Verification Code: ######/g&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 12 Dec 2023 01:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671502#M112555</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-12T01:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask the verificaition code using props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671513#M112556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/95912"&gt;@abhi04&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I usually use the solution with SEDCMD hinted by&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;Anyway, also the solution with props amd transforms should run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;props.conf

[source::abc]
TRANSFORMS-anonymize = abc-anonymizer

transforms.conf
[abc-anonymizer]
DEST_KEY = _raw
REGEX = Verification Code:\d+ 
FORMAT = Verification Code:######&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 07:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671513#M112556</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-12T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask the verificaition code using props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671592#M112563</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; and &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 15:17:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671592#M112563</guid>
      <dc:creator>abhi04</dc:creator>
      <dc:date>2023-12-12T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask the verificaition code using props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671599#M112566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/95912"&gt;@abhi04&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>Tue, 12 Dec 2023 15:35:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-mask-the-verificaition-code-using-props-and-transforms/m-p/671599#M112566</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-12T15:35:20Z</dc:date>
    </item>
  </channel>
</rss>

