<?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: Data masking in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571576#M101213</link>
    <description>&lt;P&gt;&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;Thanks for looking into this.&lt;BR /&gt;the problem is my data is not in _raw but in field A.&lt;BR /&gt;it comes as an additional field from hec as indexed field.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so SEDCMD has its limitation of being applied directly on _raw and not on indexed field.&lt;/P&gt;&lt;P&gt;thats why I had to use the SOURCE_KEY = field:A&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 02:20:57 GMT</pubDate>
    <dc:creator>johnsasikumar</dc:creator>
    <dc:date>2021-10-20T02:20:57Z</dc:date>
    <item>
      <title>Data masking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571529#M101210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Am trying to do an index time masking where my data is not in _raw but in a separate field A.&lt;/P&gt;&lt;P&gt;For example A field has the following data&lt;/P&gt;&lt;PRE&gt;"Path=/LoginUser Query=CrmId=ClientABC&amp;amp;
ContentItemId=TotalAccess&amp;amp;SessionId=3A1785URH117BEA&amp;amp;Ticket=646A1DA4STF896EE&amp;amp;
SessionTime=25368&amp;amp;ReturnUrl=http://www.clientabc.com, Method=GET,IP=209.51.249.195,
Content=", ""&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I have applied transforms rules as below,&lt;/P&gt;&lt;PRE&gt;[session-anonymizer]&lt;BR /&gt;SOURCE_KEY = field:A
REGEX = (?m)^(.*)SessionId=\w+(\w{4}[&amp;amp;"].*)$
FORMAT = $1SessionId=########$2
DEST_KEY = field:A&lt;/PRE&gt;&lt;P&gt;The problem is when we give the DEST_KEY as _raw it is masked properly, But I need the masked data back to field A. How do we get this masked to field:A&lt;/P&gt;&lt;P&gt;I have also tried adding&amp;nbsp;&lt;/P&gt;&lt;P&gt;[accepted_keys]&lt;/P&gt;&lt;P&gt;is_valid =&amp;nbsp;field:A&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 15:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571529#M101210</guid>
      <dc:creator>johnsasikumar</dc:creator>
      <dc:date>2021-10-19T15:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data masking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571558#M101211</link>
      <description>&lt;P&gt;Have you tried masking using SEDCMD?&amp;nbsp; It's simpler than using transforms.&amp;nbsp; Put this in props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[mysourcetype]
SEDCMD-maskSessionID = s/SessionId=[^&amp;amp;]+/SessionId=########/g&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 19 Oct 2021 20:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571558#M101211</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-10-19T20:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data masking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571576#M101213</link>
      <description>&lt;P&gt;&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;Thanks for looking into this.&lt;BR /&gt;the problem is my data is not in _raw but in field A.&lt;BR /&gt;it comes as an additional field from hec as indexed field.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so SEDCMD has its limitation of being applied directly on _raw and not on indexed field.&lt;/P&gt;&lt;P&gt;thats why I had to use the SOURCE_KEY = field:A&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 02:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571576#M101213</guid>
      <dc:creator>johnsasikumar</dc:creator>
      <dc:date>2021-10-20T02:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data masking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571587#M101218</link>
      <description>&lt;P&gt;INGEST_EVAL with replace solved the issue&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 06:27:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-masking/m-p/571587#M101218</guid>
      <dc:creator>johnsasikumar</dc:creator>
      <dc:date>2021-10-20T06:27:17Z</dc:date>
    </item>
  </channel>
</rss>

