<?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: creating DQL filters faster in Security Investigator in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-tip-creating-DQL-filters-faster-in-Security-Investigator/m-p/262178#M1495</link>
    <description>&lt;P&gt;When fetching logs and events from Grail, it is usually needed to create additional filters based on your results. To do it faster, &lt;A href="https://www.dynatrace.com/hub/detail/security-investigator/" target="_self"&gt;&lt;STRONG&gt;Security Investigator&lt;/STRONG&gt;&lt;/A&gt; has a bunch of "hidden gems" that allow Engineers to drill into their data in a much faster and flexible way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Filtering by multiple values&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you hold down the shift key on your keyboard and click on fields, you can select multiple fields in the same column. By right-clicking on them and choosing "Filter out", all the unique values are gathered from the selected fields and are added to the filtering statement:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_0-1731407226285.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24529iC843DD37E0AAD00F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_0-1731407226285.png" alt="Tiit_Hallas_0-1731407226285.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Partial filtering&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It is not always the full content of the field that you would want to filter by. This is why it is possible to create values from only a portion of the field value. By selecting only some of the value and choosing "Filter for", the filter statement will look only for the selected part.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_1-1731409145524.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24531i6382D55D7AD79C64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_1-1731409145524.png" alt="Tiit_Hallas_1-1731409145524.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Filtering by timestamps&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you find an error message from your logs, you might want to see, what happened around that error (or before.. or after it). This is why it is possible to create quick timestamp filters from the context menu. By choosing "Timestamp filters", you can see different filters provided for timestamps, including "Around 5 seconds", which will add the following filter to the query:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| filter timestamp &amp;gt;= toTimestamp("2024-11-12T10:47:45.000000000Z")-5s 
     and timestamp &amp;lt;= toTimestamp("2024-11-12T10:47:45.000000000Z")+5s&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_2-1731409818914.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24532i02CA913900B0D77F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_2-1731409818914.png" alt="Tiit_Hallas_2-1731409818914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Statistical filters&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When selecting multiple numerical values, it is possible to create filters based on statistical values, for example: by the maximum number from the selection.&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-1731410052995.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24533iA2F0DCE802026441/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_3-1731410052995.png" alt="Tiit_Hallas_3-1731410052995.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 11:18:23 GMT</pubDate>
    <dc:creator>Tiit_Hallas</dc:creator>
    <dc:date>2024-11-12T11:18:23Z</dc:date>
    <item>
      <title>Pro tip: creating DQL filters faster in Security Investigator</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-tip-creating-DQL-filters-faster-in-Security-Investigator/m-p/262178#M1495</link>
      <description>&lt;P&gt;When fetching logs and events from Grail, it is usually needed to create additional filters based on your results. To do it faster, &lt;A href="https://www.dynatrace.com/hub/detail/security-investigator/" target="_self"&gt;&lt;STRONG&gt;Security Investigator&lt;/STRONG&gt;&lt;/A&gt; has a bunch of "hidden gems" that allow Engineers to drill into their data in a much faster and flexible way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Filtering by multiple values&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you hold down the shift key on your keyboard and click on fields, you can select multiple fields in the same column. By right-clicking on them and choosing "Filter out", all the unique values are gathered from the selected fields and are added to the filtering statement:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_0-1731407226285.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24529iC843DD37E0AAD00F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_0-1731407226285.png" alt="Tiit_Hallas_0-1731407226285.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Partial filtering&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It is not always the full content of the field that you would want to filter by. This is why it is possible to create values from only a portion of the field value. By selecting only some of the value and choosing "Filter for", the filter statement will look only for the selected part.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_1-1731409145524.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24531i6382D55D7AD79C64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_1-1731409145524.png" alt="Tiit_Hallas_1-1731409145524.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Filtering by timestamps&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you find an error message from your logs, you might want to see, what happened around that error (or before.. or after it). This is why it is possible to create quick timestamp filters from the context menu. By choosing "Timestamp filters", you can see different filters provided for timestamps, including "Around 5 seconds", which will add the following filter to the query:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| filter timestamp &amp;gt;= toTimestamp("2024-11-12T10:47:45.000000000Z")-5s 
     and timestamp &amp;lt;= toTimestamp("2024-11-12T10:47:45.000000000Z")+5s&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiit_Hallas_2-1731409818914.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24532i02CA913900B0D77F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_2-1731409818914.png" alt="Tiit_Hallas_2-1731409818914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Statistical filters&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When selecting multiple numerical values, it is possible to create filters based on statistical values, for example: by the maximum number from the selection.&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-1731410052995.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24533iA2F0DCE802026441/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiit_Hallas_3-1731410052995.png" alt="Tiit_Hallas_3-1731410052995.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 11:18:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-tip-creating-DQL-filters-faster-in-Security-Investigator/m-p/262178#M1495</guid>
      <dc:creator>Tiit_Hallas</dc:creator>
      <dc:date>2024-11-12T11:18:23Z</dc:date>
    </item>
  </channel>
</rss>

