<?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: Need to extract logs on behalf of Opco and IMSI variable in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/296214#M3211</link>
    <description>&lt;P&gt;Thanks for the reply , it is working now .!!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2026 12:30:37 GMT</pubDate>
    <dc:creator>kumarv14</dc:creator>
    <dc:date>2026-03-16T12:30:37Z</dc:date>
    <item>
      <title>Need to extract logs on behalf of Opco and IMSI variable</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/295800#M3203</link>
      <description>&lt;DIV&gt;
&lt;P&gt;Hello everyone and&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25373"&gt;@krzysztof_hoja&lt;/a&gt; ,&lt;/P&gt;
&lt;BR /&gt;
&lt;P&gt;Can someone help me create a dashboard that uses two input values — &lt;STRONG&gt;Market (OpCo)&lt;/STRONG&gt; and &lt;STRONG&gt;IMSI&lt;/STRONG&gt;?&lt;BR /&gt;I want the dashboard to accept these two values as variables, and then display the logs based on the selected Market and IMSI.&lt;/P&gt;
&lt;P&gt;Please find the attached screenshot for reference.&lt;BR /&gt;So far, I was able to pass a list for the Market value, but for IMSI I need a user‑input field.&lt;BR /&gt;Both values should be passed into the query, and the dashboard should show the results just like in the screenshot.&lt;/P&gt;
&lt;P&gt;in first image on which i am working , in second logs pic showing here , what i wants&amp;nbsp; after enter the values .&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Name:&lt;/STRONG&gt; &lt;CODE&gt;Market&lt;/CODE&gt;&lt;BR /&gt;&lt;STRONG&gt;Type:&lt;/STRONG&gt; Text/List&lt;BR /&gt;&lt;STRONG&gt;Default:&lt;/STRONG&gt; &lt;EM&gt;empty (shows all)&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;Example values:&lt;/STRONG&gt; &lt;CODE&gt;PT&lt;/CODE&gt;, &lt;CODE&gt;DE&lt;/CODE&gt;, &lt;CODE&gt;IN&lt;/CODE&gt;,&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;fetch logs, scanLimitGBytes:-1&lt;BR /&gt;| filter dt.system.bucket=="_engineering" and index == "serv_db"&lt;BR /&gt;| filter Market=="UK" and IMSI=="11502178721"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| fields timestamp,AuditMessage&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Mar 2026 07:59:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/295800#M3203</guid>
      <dc:creator>kumarv14</dc:creator>
      <dc:date>2026-03-09T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need to extract logs on behalf of Opco and IMSI variable</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/295816#M3205</link>
      <description>&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25373" target="_blank"&gt;@krzysztof_hoja&lt;/A&gt;&amp;nbsp;PFA the snap where i am able to pass IMSI and Market but not getting expected result as i wants about this IMSI against the Market .. I will appreciate you in advance&amp;nbsp; if you reply with solution on the same .&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 14:11:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/295816#M3205</guid>
      <dc:creator>kumarv14</dc:creator>
      <dc:date>2026-03-06T14:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need to extract logs on behalf of Opco and IMSI variable</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/296147#M3210</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Yes this is possible, and for your use case the best setup is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Market as a List variable&lt;/LI&gt;&lt;LI&gt;IMSI as a Free Text variable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Dynatrace dashboards support both list variables and manual text input variables, and you can reference them in DQL using $VariableName. By default, the variable is inserted into the query as a quoted string.&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/dashboards-and-notebooks/dashboards-new/components/dashboard-component-variable" target="_self"&gt;Add a variable to a dashboard&lt;/A&gt;&amp;nbsp;&amp;lt;-- here you have documentation.&lt;BR /&gt;“empty = show all” is not automatic. You need to handle that logic directly in the DQL query. The same applies if you want Market to support an “All” option. Dashboard variables recalculate the tiles when their values change.&lt;BR /&gt;IMO you should set it like this:&lt;/P&gt;&lt;P&gt;Variable 1&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Name: Market&lt;/LI&gt;&lt;LI&gt;Type: List&lt;/LI&gt;&lt;LI&gt;Values: ALL,PT,DE,IN,UK&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Variable 2&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Name: IMSI&lt;/LI&gt;&lt;LI&gt;Type: Free Text&lt;/LI&gt;&lt;LI&gt;Default: empty&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="var2.jpg" style="width: 587px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32349iD8A678931114E2B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="var2.jpg" alt="var2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="var1.jpg" style="width: 717px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32350iAF87900CD9CCA166/image-size/large?v=v2&amp;amp;px=999" role="button" title="var1.jpg" alt="var1.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;then you can use them in DQL, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs, scanLimitGBytes:-1
| filter dt.system.bucket == "_engineering" and index == "serv_db"
| filter ($Market == "ALL" or Market == $Market)
| filter IMSI == $IMSI
| fields timestamp, AuditMessage, Market, IMSI
| sort timestamp desc&lt;/LI-CODE&gt;&lt;P&gt;or you can also replace&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter IMSI == $IMSI&lt;/LI-CODE&gt;&lt;P&gt;to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter ($IMSI == "" or IMSI == $IMSI)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 14:26:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/296147#M3210</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-03-13T14:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need to extract logs on behalf of Opco and IMSI variable</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/296214#M3211</link>
      <description>&lt;P&gt;Thanks for the reply , it is working now .!!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 12:30:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/296214#M3211</guid>
      <dc:creator>kumarv14</dc:creator>
      <dc:date>2026-03-16T12:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need to extract logs on behalf of Opco and IMSI variable</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/297252#M3253</link>
      <description>&lt;P&gt;Hey ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please help me on this ?&lt;/P&gt;&lt;P&gt;App TO DEVICE -&amp;gt; Sending SIMStatus response= STATUS_CODE=6000, Subscription={},Secondary-devices={EID:84130096,sICCID:,Status:Pending-Profile-Release;}&lt;/P&gt;&lt;P&gt;i wants to extract field Status:Pending-Profile-Release in this anyother string can also come i used below query but getting error&lt;/P&gt;&lt;P&gt;fetch logs, scanLimitGBytes:-1&lt;BR /&gt;| filter dt.system.bucket=="_engineering" and index=="serv_db"&lt;BR /&gt;| filter Market=="IN"&lt;BR /&gt;| filter Direction=="OUT"&lt;BR /&gt;| filter contains(AuditMessage, "App TO DEVICE -&amp;gt; Sending SIMStatus response")&lt;BR /&gt;| parse AuditMessage, "Status:{DeviceStatus};"&lt;BR /&gt;| filter DeviceStatus == "Pending-Profile-Release"&lt;BR /&gt;| fields timestamp, IMSI, DEG_MDN, DeviceStatus, AuditMessage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 10:22:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-to-extract-logs-on-behalf-of-Opco-and-IMSI-variable/m-p/297252#M3253</guid>
      <dc:creator>kumarv14</dc:creator>
      <dc:date>2026-04-03T10:22:40Z</dc:date>
    </item>
  </channel>
</rss>

