<?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: Why is Anonymize data not working? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/593141#M103802</link>
    <description>&lt;P&gt;And you put those props and transforms where?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2022 16:50:06 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-04-08T16:50:06Z</dc:date>
    <item>
      <title>Why is Anonymize data not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/591986#M103635</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i am trying to anonymize data in forwarder using the below:&lt;/P&gt;
&lt;P&gt;The data&amp;nbsp;&lt;FONT color="#FF0000"&gt;AABC123456789012 needs to be transformed to AABC12XXXXXX9012&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;The regex seems to be not working.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mar 31 13:34:56 10.209.7.69 Mar 31 13:34:56 1234567890_admin yia0WAM 65.92.243.116 eyuiopppp.***.com 123.55.000.88 - &lt;FONT color="#FF0000"&gt;AABC123456789012&lt;/FONT&gt; [31/Mar/2022:13:34:39 -0400] 'GET /me-and-***/***intranetstandards/_assets-responsive/v1/fonts/trtr/rtyruroop-ghjtltutt-webfont.woff HTTP/1.1' 200 29480 erty-tyunht.pg.uhg.com 31/Mar/2022:13:34:39.531 -0400 6163 text/plain; charset=UTF-8 "https://****.yyy.com/assets/hr/css/*******.min.css"&lt;/P&gt;
&lt;P&gt;tranforms.conf&lt;/P&gt;
&lt;P&gt;[abcbc_isam]&lt;BR /&gt;REGEX = 'AABC[0-9]{5,16}'&lt;BR /&gt;DEST_KEY = _raw&lt;BR /&gt;FORMAT = $1AABC[0-9]{2}XXXXXX[0-9]{4}$2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;props.conf&lt;/P&gt;
&lt;P&gt;[host::AE110501]&lt;BR /&gt;TRANSFORMS-set= abcbc_isam&lt;BR /&gt;disabled = false&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 18:45:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/591986#M103635</guid>
      <dc:creator>vengisa</dc:creator>
      <dc:date>2022-04-01T18:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Anonymize data not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/591993#M103637</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[abcbc_isam]
REGEX = (AABC)(\d{8})(\d{4})
DEST_KEY = _raw
FORMAT = $1XXXXXXXX$3&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Apr 2022 18:09:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/591993#M103637</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-04-01T18:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Anonymize data not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/592218#M103669</link>
      <description>&lt;P&gt;Nope. Still not working..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/592218#M103669</guid>
      <dc:creator>vengisa</dc:creator>
      <dc:date>2022-04-04T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Anonymize data not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/592219#M103670</link>
      <description>&lt;P&gt;Are you trying to do it on Universal Forwarder? It won't work. You have to do it on first "heavy" (based on a full splunk enterprise installation package) component in event's path. If you're sending events from UF's directly to indexers, do it on indexers. If you have an intermediate layer of HF's, do it on HF's.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/592219#M103670</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-04T13:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Anonymize data not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/592222#M103671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231499"&gt;@vengisa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can try the sedcmd in props.conf and dont require in transform but this should go to indexer&lt;BR /&gt;SED script works at index time and executed on _raw field. so should be in indexer&lt;/P&gt;&lt;P&gt;first you can test the&amp;nbsp; sedcmd in a rex in a search: to check if masking is working&amp;nbsp;&lt;/P&gt;&lt;P&gt;your search |rex mode=sed field= _raw max_match=0 "s/(AABC)(\d{8})(\d{4})/$1XXXXXX$2/"&lt;/P&gt;&lt;P&gt;if it works&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just write this is in props.conf . you do not need to write transforms.conf.&lt;/P&gt;&lt;P&gt;[websphere_trlog_sysout]&lt;/P&gt;&lt;P&gt;SEDCMD-replace=/(([\d+\-]+) ([\d+:]+))/XXXXXX/&lt;/P&gt;&lt;P&gt;and then restart the server.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 14:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/592222#M103671</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-04-04T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Anonymize data not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/593138#M103801</link>
      <description>&lt;P&gt;Yes. I am using heavy forwarder -&amp;gt; indexer -&amp;gt; search head&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 16:37:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/593138#M103801</guid>
      <dc:creator>vengisa</dc:creator>
      <dc:date>2022-04-08T16:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Anonymize data not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/593141#M103802</link>
      <description>&lt;P&gt;And you put those props and transforms where?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 16:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Anonymize-data-not-working/m-p/593141#M103802</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-08T16:50:06Z</dc:date>
    </item>
  </channel>
</rss>

