<?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 dql help to select item in line? in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302521#M1705</link>
    <description>&lt;P&gt;Hello, I am new in DQL and I am hoping that somebody can help me?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have three lines from a log that I need to monitor, Line 1 is ok there are no Unavailable Spokes.&lt;BR /&gt;Line 1: 7/24/26 06:23:47.864 UTC [tid=33153907] [INFO] Unavailable Spokes: None&lt;/P&gt;&lt;P&gt;But Line 2 and Line 3 shows that there are one or more Unavailable Spokes.&lt;BR /&gt;Line 2: 7/25/26 07:50:44.246 UTC [tid=33141543] [INFO] Unavailable Spokes: [SpokeServerEntry [name=SERVER-A, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1]]&lt;/P&gt;&lt;P&gt;Line 3: 7/27/26 07:55:12.142 UTC [tid=22945568] [INFO] Unavailable Spokes: [SpokeServerEntry [name=SERVER-B, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1], SpokeServerEntry [name=SERVER-C, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1]]&lt;/P&gt;&lt;P&gt;In my rapports I only want to show the following:&lt;BR /&gt;7/25/26 07:50:44.246 UTC Unavailable Spokes: name=SERVER-A,&lt;BR /&gt;7/27/26 07:55:12.142 UTC Unavailable Spokes: name=SERVER-B, name=SERVER-C&lt;/P&gt;&lt;P&gt;How can I do this with DQL?&lt;BR /&gt;Thanks for helping.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2026 07:07:40 GMT</pubDate>
    <dc:creator>efclem</dc:creator>
    <dc:date>2026-07-29T07:07:40Z</dc:date>
    <item>
      <title>dql help to select item in line?</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302521#M1705</link>
      <description>&lt;P&gt;Hello, I am new in DQL and I am hoping that somebody can help me?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have three lines from a log that I need to monitor, Line 1 is ok there are no Unavailable Spokes.&lt;BR /&gt;Line 1: 7/24/26 06:23:47.864 UTC [tid=33153907] [INFO] Unavailable Spokes: None&lt;/P&gt;&lt;P&gt;But Line 2 and Line 3 shows that there are one or more Unavailable Spokes.&lt;BR /&gt;Line 2: 7/25/26 07:50:44.246 UTC [tid=33141543] [INFO] Unavailable Spokes: [SpokeServerEntry [name=SERVER-A, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1]]&lt;/P&gt;&lt;P&gt;Line 3: 7/27/26 07:55:12.142 UTC [tid=22945568] [INFO] Unavailable Spokes: [SpokeServerEntry [name=SERVER-B, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1], SpokeServerEntry [name=SERVER-C, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1]]&lt;/P&gt;&lt;P&gt;In my rapports I only want to show the following:&lt;BR /&gt;7/25/26 07:50:44.246 UTC Unavailable Spokes: name=SERVER-A,&lt;BR /&gt;7/27/26 07:55:12.142 UTC Unavailable Spokes: name=SERVER-B, name=SERVER-C&lt;/P&gt;&lt;P&gt;How can I do this with DQL?&lt;BR /&gt;Thanks for helping.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 07:07:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302521#M1705</guid>
      <dc:creator>efclem</dc:creator>
      <dc:date>2026-07-29T07:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: dql help to select item in line?</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302522#M1706</link>
      <description>&lt;P&gt;maybe you can try add the one line below, into your DQL&lt;/P&gt;&lt;P&gt;&lt;EM&gt;| filterOut contains(content, "Unavailable Spokes: None")&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 07:21:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302522#M1706</guid>
      <dc:creator>waikeat_chan</dc:creator>
      <dc:date>2026-07-29T07:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: dql help to select item in line?</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302523#M1707</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(content="7/24/26 06:23:47.864 UTC [tid=33153907] [INFO] Unavailable Spokes: None"),
     record(content="7/25/26 07:50:44.246 UTC [tid=33141543] [INFO] Unavailable Spokes: [SpokeServerEntry [name=SERVER-A, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1]]"),
     record(content="7/27/26 07:55:12.142 UTC [tid=22945568] [INFO] Unavailable Spokes: [SpokeServerEntry [name=SERVER-B, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1], SpokeServerEntry [name=SERVER-C, configured=1, status=2, vrmf=null, platform=Windows, sessionID=-1]]")

| parse content, "LD:timestamp ' [tid=' LD '] [INFO] Unavailable Spokes: ' LD:spokes"
| filter spokes != "None"
| parse spokes, "'[' ARRAY{ 'SpokeServerEntry [' LD:entry ',' LD ']' ', '? }{0,50}:entries ']'"
| fieldsAdd Unavailable_Spokes = arrayToString(entries, delimiter:", ")
| fieldsKeep timestamp, Unavailable_Spokes&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 29 Jul 2026 07:26:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302523#M1707</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2026-07-29T07:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: dql help to select item in line?</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302604#M1708</link>
      <description>&lt;P&gt;Many thanks, this works for me.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 06:12:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/dql-help-to-select-item-in-line/m-p/302604#M1708</guid>
      <dc:creator>efclem</dc:creator>
      <dc:date>2026-07-30T06:12:36Z</dc:date>
    </item>
  </channel>
</rss>

