<?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 Pro Tip: Using Custom Pivoting  in Investigations in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tip-Using-Custom-Pivoting-in-Investigations/m-p/294142#M1874</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Pivoting&lt;/STRONG&gt; is a concept in &lt;STRONG&gt;Investigations&lt;/STRONG&gt; (previously known as Security Investigator) that enables you to &lt;STRONG&gt;switch the context of your query&lt;/STRONG&gt;. For example, you searched for log records containing errors and found several of them. Now you want to know what happened &lt;STRONG&gt;in the Pod that produced the errors&lt;/STRONG&gt; around that time. So choosing the relevant records and Pivoting to &lt;STRONG&gt;Kubernetes Pods' logs&lt;/STRONG&gt; will fetch log records originating from the pods that produced those errors, creating a &lt;STRONG&gt;new query node for each of the unique pods&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_0-1770202555620.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31877iD4FBB2AD6CE87C29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_0-1770202555620.png" alt="Tiit_Hallas_0-1770202555620.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_1-1770202655584.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31878iE4DD785B8BA5A550/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_1-1770202655584.png" alt="Tiit_Hallas_1-1770202655584.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But the power of pivoting in Investigations app doesn't end here. Use-cases for pivoting aren't always limited to the existing dimensions or information available in the log record. Imagine you were analysing your errors and would like to analyse the spans in Grail based on the unique trace ID's added to those records. And you would expect to have each trace in a separate query node to analyse them in separate contexts. You can do this by choosing &lt;STRONG&gt;use custom dimensions &lt;/STRONG&gt;from the pivoting menu!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_4-1770205680512.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31884iD29C8B2EE21C3741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_4-1770205680512.png" alt="Tiit_Hallas_4-1770205680512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_0-1770205162076.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31880iD4C416092D205142/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_0-1770205162076.png" alt="Tiit_Hallas_0-1770205162076.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A modal will open up that will enable you to write &lt;STRONG&gt;any DQL query&lt;/STRONG&gt; and use your selected values&amp;nbsp;with the macro &lt;EM&gt;&lt;STRONG&gt;$value&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_2-1770205444219.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31882i5DDDFABD221BD812/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_2-1770205444219.png" alt="Tiit_Hallas_2-1770205444219.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also modify, add or remove the values to be used in pivoting in the "&lt;STRONG&gt;Manage Values&lt;/STRONG&gt;" tab.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_3-1770205522817.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31883i3BFD7710F8C77226/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_3-1770205522817.png" alt="Tiit_Hallas_3-1770205522817.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also save the query as a new custom dimension to &lt;STRONG&gt;reuse it later&lt;/STRONG&gt; and save time crafting it.&lt;/P&gt;
&lt;P&gt;By pressing the "&lt;STRONG&gt;Pivot N queries&lt;/STRONG&gt;" button, your query will be executed with the chosen values, providing a new query node for each of them. I.e. if you started your pivoting from &lt;STRONG&gt;five trace_id's&lt;/STRONG&gt; then &lt;STRONG&gt;five new query nodes&lt;/STRONG&gt; will be created, each containing results for respective &lt;STRONG&gt;trace_id&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_5-1770205736335.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31885i9A92A6E05CFA7814/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_5-1770205736335.png" alt="Tiit_Hallas_5-1770205736335.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can try out the custom pivoting in &lt;A href="https://www.dynatrace.com/signup/playground/" target="_blank"&gt;Dynatrace Playground&lt;/A&gt;! Just find the Investigations app and give it a shot. You can find the Investigation created during this blog from&amp;nbsp;&lt;A href="https://wkf10640.apps.dynatrace.com/ui/apps/dynatrace.security.investigator/share/27dedb02-5de0-4c8e-8bf0-c4d4db2a1386" target="_blank"&gt;https://wkf10640.apps.dynatrace.com/ui/apps/dynatrace.security.investigator/share/27dedb02-5de0-4c8e-8bf0-c4d4db2a1386&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2026 11:52:00 GMT</pubDate>
    <dc:creator>Tiit_Hallas</dc:creator>
    <dc:date>2026-02-04T11:52:00Z</dc:date>
    <item>
      <title>Pro Tip: Using Custom Pivoting  in Investigations</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tip-Using-Custom-Pivoting-in-Investigations/m-p/294142#M1874</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Pivoting&lt;/STRONG&gt; is a concept in &lt;STRONG&gt;Investigations&lt;/STRONG&gt; (previously known as Security Investigator) that enables you to &lt;STRONG&gt;switch the context of your query&lt;/STRONG&gt;. For example, you searched for log records containing errors and found several of them. Now you want to know what happened &lt;STRONG&gt;in the Pod that produced the errors&lt;/STRONG&gt; around that time. So choosing the relevant records and Pivoting to &lt;STRONG&gt;Kubernetes Pods' logs&lt;/STRONG&gt; will fetch log records originating from the pods that produced those errors, creating a &lt;STRONG&gt;new query node for each of the unique pods&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_0-1770202555620.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31877iD4FBB2AD6CE87C29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_0-1770202555620.png" alt="Tiit_Hallas_0-1770202555620.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_1-1770202655584.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31878iE4DD785B8BA5A550/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_1-1770202655584.png" alt="Tiit_Hallas_1-1770202655584.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But the power of pivoting in Investigations app doesn't end here. Use-cases for pivoting aren't always limited to the existing dimensions or information available in the log record. Imagine you were analysing your errors and would like to analyse the spans in Grail based on the unique trace ID's added to those records. And you would expect to have each trace in a separate query node to analyse them in separate contexts. You can do this by choosing &lt;STRONG&gt;use custom dimensions &lt;/STRONG&gt;from the pivoting menu!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_4-1770205680512.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31884iD29C8B2EE21C3741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_4-1770205680512.png" alt="Tiit_Hallas_4-1770205680512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_0-1770205162076.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31880iD4C416092D205142/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_0-1770205162076.png" alt="Tiit_Hallas_0-1770205162076.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A modal will open up that will enable you to write &lt;STRONG&gt;any DQL query&lt;/STRONG&gt; and use your selected values&amp;nbsp;with the macro &lt;EM&gt;&lt;STRONG&gt;$value&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_2-1770205444219.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31882i5DDDFABD221BD812/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_2-1770205444219.png" alt="Tiit_Hallas_2-1770205444219.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also modify, add or remove the values to be used in pivoting in the "&lt;STRONG&gt;Manage Values&lt;/STRONG&gt;" tab.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_3-1770205522817.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31883i3BFD7710F8C77226/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_3-1770205522817.png" alt="Tiit_Hallas_3-1770205522817.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also save the query as a new custom dimension to &lt;STRONG&gt;reuse it later&lt;/STRONG&gt; and save time crafting it.&lt;/P&gt;
&lt;P&gt;By pressing the "&lt;STRONG&gt;Pivot N queries&lt;/STRONG&gt;" button, your query will be executed with the chosen values, providing a new query node for each of them. I.e. if you started your pivoting from &lt;STRONG&gt;five trace_id's&lt;/STRONG&gt; then &lt;STRONG&gt;five new query nodes&lt;/STRONG&gt; will be created, each containing results for respective &lt;STRONG&gt;trace_id&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_5-1770205736335.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31885i9A92A6E05CFA7814/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_5-1770205736335.png" alt="Tiit_Hallas_5-1770205736335.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can try out the custom pivoting in &lt;A href="https://www.dynatrace.com/signup/playground/" target="_blank"&gt;Dynatrace Playground&lt;/A&gt;! Just find the Investigations app and give it a shot. You can find the Investigation created during this blog from&amp;nbsp;&lt;A href="https://wkf10640.apps.dynatrace.com/ui/apps/dynatrace.security.investigator/share/27dedb02-5de0-4c8e-8bf0-c4d4db2a1386" target="_blank"&gt;https://wkf10640.apps.dynatrace.com/ui/apps/dynatrace.security.investigator/share/27dedb02-5de0-4c8e-8bf0-c4d4db2a1386&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 11:52:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tip-Using-Custom-Pivoting-in-Investigations/m-p/294142#M1874</guid>
      <dc:creator>Tiit_Hallas</dc:creator>
      <dc:date>2026-02-04T11:52:00Z</dc:date>
    </item>
  </channel>
</rss>

