<?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 How to hide or mask SQL statements in Distributed Traces in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284138#M37363</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the &lt;STRONG&gt;Distributed Traces&lt;/STRONG&gt; view, I can see the full SQL statements, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; (columns) &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; (&lt;SPAN class=""&gt;table&lt;/SPAN&gt;) &lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; (conditions)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I would like to &lt;STRONG&gt;mask or hide the entire SQL statement&lt;/STRONG&gt; so that no one can see the actual query text.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there a way to completely &lt;STRONG&gt;disable SQL statement capture&lt;/STRONG&gt; so Dynatrace doesn’t ingest them at all?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Alternatively, if SQL statements are ingested, can I &lt;STRONG&gt;mask or obfuscate them&lt;/STRONG&gt; so they are not visible in the UI?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What is the recommended approach to achieve this?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 07:33:54 GMT</pubDate>
    <dc:creator>Saqib_Fayaz</dc:creator>
    <dc:date>2025-08-19T07:33:54Z</dc:date>
    <item>
      <title>How to hide or mask SQL statements in Distributed Traces</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284138#M37363</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the &lt;STRONG&gt;Distributed Traces&lt;/STRONG&gt; view, I can see the full SQL statements, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; (columns) &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; (&lt;SPAN class=""&gt;table&lt;/SPAN&gt;) &lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; (conditions)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I would like to &lt;STRONG&gt;mask or hide the entire SQL statement&lt;/STRONG&gt; so that no one can see the actual query text.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there a way to completely &lt;STRONG&gt;disable SQL statement capture&lt;/STRONG&gt; so Dynatrace doesn’t ingest them at all?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Alternatively, if SQL statements are ingested, can I &lt;STRONG&gt;mask or obfuscate them&lt;/STRONG&gt; so they are not visible in the UI?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What is the recommended approach to achieve this?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 07:33:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284138#M37363</guid>
      <dc:creator>Saqib_Fayaz</dc:creator>
      <dc:date>2025-08-19T07:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide or mask SQL statements in Distributed Traces</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284224#M37369</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can check &lt;A title="mask data with Openpipeline" href="https://docs.dynatrace.com/docs/shortlink/openpipeline-processing-examples#mask-data" target="_blank" rel="noopener"&gt;mask data with Openpipeline&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 19:10:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284224#M37369</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-08-19T19:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide or mask SQL statements in Distributed Traces</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284227#M37371</link>
      <description>&lt;P&gt;There are different options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Disable capture of database requests using OneAgent features responsible for capturing database tracing. This depends on the technology used in your monitored process. For example "Java JDBC". This will disable database spans completely, including Distributed traces classic or Distributed tracing - if traces are from OneAgent. You also won't see any database services.&lt;/LI&gt;&lt;LI&gt;Use OpenPipleline to remove the database spans. This is applicable only for Distributed tracing app. You will still see them in Distributed Traces Classic&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Disabling OneAgent feature will work for Managed deployments and SaaS. While OpenPipeline only for SaaS (and new Distributed tracing app).&lt;BR /&gt;&lt;BR /&gt;Anyway - Dynatrace does not capture any sensitive data unless you turn on SQL bind variables capture and those are displayed only for users view view sensitive data priviledge. Generally I would not recommend to remove the database spans or disable its capture.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 19:52:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284227#M37371</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-08-19T19:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide or mask SQL statements in Distributed Traces</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284332#M37384</link>
      <description>&lt;P&gt;actually the client i am working with is a bank. so their security team doesn't want us or anyone who has access to the dynatrace tenant , to see the schema of their database tables, so they want database statements to come inside the grail, but they want schema and values inside the distributed traces to be masked.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 12:41:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-hide-or-mask-SQL-statements-in-Distributed-Traces/m-p/284332#M37384</guid>
      <dc:creator>Saqib_Fayaz</dc:creator>
      <dc:date>2025-08-20T12:41:37Z</dc:date>
    </item>
  </channel>
</rss>

