<?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 link log to existing entity in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298227#M3310</link>
    <description>&lt;P&gt;I had importing log using API because of technology not currently supported&amp;nbsp;&amp;nbsp;&lt;BR /&gt;I don't have any enrichment with context information&lt;/P&gt;&lt;P&gt;However, name of k8s cluster and namespace is there&lt;/P&gt;&lt;P&gt;Is there a way to link these rows to existing entityID?&lt;BR /&gt;I made some try on smatscape node and edge tab on openpipeline (log format is in JSON and I need to parse it)&amp;nbsp;&lt;BR /&gt;Unfortunately I was only able to create custom nodes&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2026 14:05:50 GMT</pubDate>
    <dc:creator>FabriBernie</dc:creator>
    <dc:date>2026-04-23T14:05:50Z</dc:date>
    <item>
      <title>link log to existing entity</title>
      <link>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298227#M3310</link>
      <description>&lt;P&gt;I had importing log using API because of technology not currently supported&amp;nbsp;&amp;nbsp;&lt;BR /&gt;I don't have any enrichment with context information&lt;/P&gt;&lt;P&gt;However, name of k8s cluster and namespace is there&lt;/P&gt;&lt;P&gt;Is there a way to link these rows to existing entityID?&lt;BR /&gt;I made some try on smatscape node and edge tab on openpipeline (log format is in JSON and I need to parse it)&amp;nbsp;&lt;BR /&gt;Unfortunately I was only able to create custom nodes&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 14:05:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298227#M3310</guid>
      <dc:creator>FabriBernie</dc:creator>
      <dc:date>2026-04-23T14:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: link log to existing entity</title>
      <link>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298228#M3311</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Yes, the Lookup feature can be used to enrich your logs with existing entity IDs.&lt;/P&gt;&lt;P&gt;Assume dt.kubernetes.cluster.name is the log field that contains your Kubernetes cluster name. You can correlate this with Smartscape entities as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&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&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;fetch logs
| filter isNotNull(dt.kubernetes.cluster.name)
| fields content, dt.kubernetes.cluster.name
| limit 5
| lookup [
smartscapeNodes K8S_CLUSTER
| fields name, id
], 
sourceField:dt.kubernetes.cluster.name, 
lookupField:name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This joins your log records with Smartscape cluster entities by matching the cluster name in your logs (dt.kubernetes.cluster.name) with the name field of K8S_CLUSTER entities, returning the corresponding entity id.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 14:19:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298228#M3311</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2026-04-23T14:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: link log to existing entity</title>
      <link>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298235#M3313</link>
      <description>&lt;P&gt;ok, this is something useful in notebook or dashboard&lt;BR /&gt;Unfortunately you cannot use Smartscape tabs in openPipeline to link to not custom entities isn't it?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 14:45:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/link-log-to-existing-entity/m-p/298235#M3313</guid>
      <dc:creator>FabriBernie</dc:creator>
      <dc:date>2026-04-23T14:45:48Z</dc:date>
    </item>
  </channel>
</rss>

