<?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 Sensitive data masking in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Sensitive-data-masking/m-p/287977#M37799</link>
    <description>&lt;P&gt;Hello, can someone helpme, please, im trying to create an&amp;nbsp;&lt;SPAN&gt;Search expression for hide some fields, like passport, id, an only showme the last 4 digit, can you helpme im trying with (.{4}) but this hide only the first 4 digit, but i want that showme the last 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here an examble of my log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Id/:124241244, Passport/:34455009986665&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want masking the number an show only de last 4 digit like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Id/:*1244, Passport/:*6665&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Oct 2025 12:27:37 GMT</pubDate>
    <dc:creator>marusla</dc:creator>
    <dc:date>2025-10-19T12:27:37Z</dc:date>
    <item>
      <title>Sensitive data masking</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Sensitive-data-masking/m-p/287977#M37799</link>
      <description>&lt;P&gt;Hello, can someone helpme, please, im trying to create an&amp;nbsp;&lt;SPAN&gt;Search expression for hide some fields, like passport, id, an only showme the last 4 digit, can you helpme im trying with (.{4}) but this hide only the first 4 digit, but i want that showme the last 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here an examble of my log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Id/:124241244, Passport/:34455009986665&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want masking the number an show only de last 4 digit like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Id/:*1244, Passport/:*6665&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Oct 2025 12:27:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Sensitive-data-masking/m-p/287977#M37799</guid>
      <dc:creator>marusla</dc:creator>
      <dc:date>2025-10-19T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sensitive data masking</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Sensitive-data-masking/m-p/288361#M37847</link>
      <description>&lt;P&gt;Hi Marusla,&lt;/P&gt;&lt;P&gt;Dynatrace’s sensitive data masking feature uses a simplified regular expression engine that doesn’t support advanced constructs such as lookaheads, lookbehinds, or backreferences those would help us to achieve the outcome you are desiring. Only standard expressions are supported — for example, you can safely mask entire numeric fields using a pattern such as:&lt;/P&gt;&lt;P&gt;(?:Id/:|Passport/:)(\d+)&lt;/P&gt;&lt;P&gt;This will replace the full number according the format you use for data masking type, in the example below I use the string format.&lt;/P&gt;&lt;P&gt;I believe that if you need to keep the last four digits visible, the masking must be applied before logs are sent to Dynatrace.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juan_mesa_0-1761173270105.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30654i106DDD556176FE1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juan_mesa_0-1761173270105.png" alt="juan_mesa_0-1761173270105.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-mask-sensitive-data#unsupported-regular-expressions" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/lma-mask-sensitive-data#unsupported-regular-expressions&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Oct 2025 23:09:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Sensitive-data-masking/m-p/288361#M37847</guid>
      <dc:creator>juan_mesa</dc:creator>
      <dc:date>2025-10-22T23:09:05Z</dc:date>
    </item>
  </channel>
</rss>

