<?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>article How to change impacted entity for log based event / problem in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-change-impacted-entity-for-log-based-event-problem/ta-p/274167</link>
    <description>&lt;H1 id="toc-hId-1846786847"&gt;Abstract&lt;/H1&gt;
&lt;P&gt;Even though Dynatrace platform tries to identify the most relevant monitored entity to report log based event sometimes its behavior does not match your expectations and problems raised based on reported events are visible on monitored entity that you do not prefer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--705370114"&gt;Problem&lt;/H1&gt;
&lt;P&gt;Log based events have one main monitored entity considered as impacted and that is the monitored entity where problems will be visible and Dynatrace tries to identify this entity as precisely as possible. The impacted entity for log event in majority of cases matches&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute value of log record. But there are cases when you could possibly prefer to adjust the default behavior, for example:&lt;/P&gt;
&lt;UL class="ak-ul" data-indent-level="1"&gt;
&lt;LI&gt;
&lt;P data-renderer-start-pos="445"&gt;Dynatrace tries to identify most granular entity (like process) but you need to have event reported on higher level entity (like host);&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P data-renderer-start-pos="581"&gt;Dynatrace finds several potential impacted entities and&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute contains array of entity ids and by default the first one will be used to report event.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId-1037440221"&gt;Troubleshooting steps&lt;/H1&gt;
&lt;P&gt;To check impacted entity for a problem check Problems application:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daryaramashko_3-1743599032402.png" style="width: 536px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27339iED887B219AAC187A/image-dimensions/536x233?v=v2" width="536" height="233" role="button" title="daryaramashko_3-1743599032402.png" alt="daryaramashko_3-1743599032402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or Problems Classic application:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="daryaramashko_5-1743599395335.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27341i701570D1D4FEF373/image-size/medium?v=v2&amp;amp;px=400" role="button" title="daryaramashko_5-1743599395335.png" alt="daryaramashko_5-1743599395335.png" /&gt;&lt;/span&gt;&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;P&gt;&amp;nbsp;&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;P&gt;If you are not satisfied with entity presented there, take a look on logs related to the problem (&lt;EM&gt;"Logs" tab for problem in Problems application or "Analyze logs" link in Problems Classic application&lt;/EM&gt;) to check if there are other entities available in log record in&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute or in any&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.entity.*&lt;/CODE&gt;&amp;nbsp;attributes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--1514716740"&gt;Resolution&lt;/H1&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; Below steps are applicable&lt;STRONG&gt; starting from version 1.313.0&lt;/STRONG&gt; on both managed and SaaS deployments.&lt;/P&gt;
&lt;P&gt;Add property in event template to override&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute with preferred value. It is strongly recommended to use a placeholder for another attribute presented in log record that contains entity id you would prefer, for example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;{dt.entity.host}&lt;/CODE&gt;&amp;nbsp;- contains id of the host entity from where the log came from&lt;/LI&gt;
&lt;LI&gt;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;{&lt;SPAN&gt;dt.entity.sql:sql_server_instance}&lt;/SPAN&gt;&lt;/CODE&gt;&amp;nbsp;- contains id of the entity created for extension of Microsoft SQL Server&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;It could be done in settings for Classic events (&lt;EM&gt;Settings &amp;gt;&amp;nbsp;Log Monitoring &amp;gt; Events extraction) :&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daryaramashko_0-1743601116348.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27344i12703873D25AC45B/image-size/large?v=v2&amp;amp;px=999" role="button" title="daryaramashko_0-1743601116348.png" alt="daryaramashko_0-1743601116348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or for Davis events in OpenPipeline (&lt;EM&gt;"Data Extraction" stage &amp;gt; "Davis event" processor) :&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daryaramashko_1-1743601158676.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27345i6AD8084DB85E5309/image-size/large?v=v2&amp;amp;px=999" role="button" title="daryaramashko_1-1743601158676.png" alt="daryaramashko_1-1743601158676.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this configuration change all new log events matching the template should be reported on the entity defined in the template properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId-228093595"&gt;What's next&lt;/H1&gt;
&lt;P&gt;If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;for managed deployment
&lt;UL&gt;
&lt;LI&gt;screenshot of the event template configured&lt;/LI&gt;
&lt;LI&gt;screenshot of the problem reported&lt;/LI&gt;
&lt;LI&gt;screenshot of problem related logs or exported logs in json/csv&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;for SaaS deployment
&lt;UL&gt;
&lt;LI&gt;link to the event template configured / event extraction configuration in OpenPipeline&lt;/LI&gt;
&lt;LI&gt;link to the problem reported&lt;/LI&gt;
&lt;LI&gt;screenshot of problem related logs or exported logs in json/csv&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 03 Apr 2025 06:34:10 GMT</pubDate>
    <dc:creator>darya-ramashko</dc:creator>
    <dc:date>2025-04-03T06:34:10Z</dc:date>
    <item>
      <title>How to change impacted entity for log based event / problem</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-change-impacted-entity-for-log-based-event-problem/ta-p/274167</link>
      <description>&lt;H1 id="toc-hId-1846786847"&gt;Abstract&lt;/H1&gt;
&lt;P&gt;Even though Dynatrace platform tries to identify the most relevant monitored entity to report log based event sometimes its behavior does not match your expectations and problems raised based on reported events are visible on monitored entity that you do not prefer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--705370114"&gt;Problem&lt;/H1&gt;
&lt;P&gt;Log based events have one main monitored entity considered as impacted and that is the monitored entity where problems will be visible and Dynatrace tries to identify this entity as precisely as possible. The impacted entity for log event in majority of cases matches&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute value of log record. But there are cases when you could possibly prefer to adjust the default behavior, for example:&lt;/P&gt;
&lt;UL class="ak-ul" data-indent-level="1"&gt;
&lt;LI&gt;
&lt;P data-renderer-start-pos="445"&gt;Dynatrace tries to identify most granular entity (like process) but you need to have event reported on higher level entity (like host);&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P data-renderer-start-pos="581"&gt;Dynatrace finds several potential impacted entities and&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute contains array of entity ids and by default the first one will be used to report event.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId-1037440221"&gt;Troubleshooting steps&lt;/H1&gt;
&lt;P&gt;To check impacted entity for a problem check Problems application:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daryaramashko_3-1743599032402.png" style="width: 536px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27339iED887B219AAC187A/image-dimensions/536x233?v=v2" width="536" height="233" role="button" title="daryaramashko_3-1743599032402.png" alt="daryaramashko_3-1743599032402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or Problems Classic application:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="daryaramashko_5-1743599395335.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27341i701570D1D4FEF373/image-size/medium?v=v2&amp;amp;px=400" role="button" title="daryaramashko_5-1743599395335.png" alt="daryaramashko_5-1743599395335.png" /&gt;&lt;/span&gt;&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;P&gt;&amp;nbsp;&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;P&gt;If you are not satisfied with entity presented there, take a look on logs related to the problem (&lt;EM&gt;"Logs" tab for problem in Problems application or "Analyze logs" link in Problems Classic application&lt;/EM&gt;) to check if there are other entities available in log record in&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute or in any&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.entity.*&lt;/CODE&gt;&amp;nbsp;attributes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--1514716740"&gt;Resolution&lt;/H1&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; Below steps are applicable&lt;STRONG&gt; starting from version 1.313.0&lt;/STRONG&gt; on both managed and SaaS deployments.&lt;/P&gt;
&lt;P&gt;Add property in event template to override&amp;nbsp;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;dt.source_entity&lt;/CODE&gt;&amp;nbsp;attribute with preferred value. It is strongly recommended to use a placeholder for another attribute presented in log record that contains entity id you would prefer, for example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;{dt.entity.host}&lt;/CODE&gt;&amp;nbsp;- contains id of the host entity from where the log came from&lt;/LI&gt;
&lt;LI&gt;&lt;CODE class="code cc-1tbex3z" data-renderer-mark="true"&gt;{&lt;SPAN&gt;dt.entity.sql:sql_server_instance}&lt;/SPAN&gt;&lt;/CODE&gt;&amp;nbsp;- contains id of the entity created for extension of Microsoft SQL Server&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;It could be done in settings for Classic events (&lt;EM&gt;Settings &amp;gt;&amp;nbsp;Log Monitoring &amp;gt; Events extraction) :&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daryaramashko_0-1743601116348.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27344i12703873D25AC45B/image-size/large?v=v2&amp;amp;px=999" role="button" title="daryaramashko_0-1743601116348.png" alt="daryaramashko_0-1743601116348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or for Davis events in OpenPipeline (&lt;EM&gt;"Data Extraction" stage &amp;gt; "Davis event" processor) :&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daryaramashko_1-1743601158676.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27345i6AD8084DB85E5309/image-size/large?v=v2&amp;amp;px=999" role="button" title="daryaramashko_1-1743601158676.png" alt="daryaramashko_1-1743601158676.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this configuration change all new log events matching the template should be reported on the entity defined in the template properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId-228093595"&gt;What's next&lt;/H1&gt;
&lt;P&gt;If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;for managed deployment
&lt;UL&gt;
&lt;LI&gt;screenshot of the event template configured&lt;/LI&gt;
&lt;LI&gt;screenshot of the problem reported&lt;/LI&gt;
&lt;LI&gt;screenshot of problem related logs or exported logs in json/csv&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;for SaaS deployment
&lt;UL&gt;
&lt;LI&gt;link to the event template configured / event extraction configuration in OpenPipeline&lt;/LI&gt;
&lt;LI&gt;link to the problem reported&lt;/LI&gt;
&lt;LI&gt;screenshot of problem related logs or exported logs in json/csv&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 03 Apr 2025 06:34:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/How-to-change-impacted-entity-for-log-based-event-problem/ta-p/274167</guid>
      <dc:creator>darya-ramashko</dc:creator>
      <dc:date>2025-04-03T06:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to change impacted entity for log based event / problem</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-change-impacted-entity-for-log-based-event-problem/tac-p/282090#M937</link>
      <description>&lt;P&gt;I tested it Dynatrace allows to make an array of&amp;nbsp;&lt;SPAN&gt;dt.source_entity&lt;/SPAN&gt;&lt;BR /&gt;That is very true that 1st item picked as "affected entity" while problem creation, but is there any workaround&amp;nbsp; to have all IDs we have inside:&lt;/P&gt;&lt;P&gt;e.g. app id + host id + slo id + service id - to cover all possible entities on problem card?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 18:49:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/How-to-change-impacted-entity-for-log-based-event-problem/tac-p/282090#M937</guid>
      <dc:creator>SlawaV</dc:creator>
      <dc:date>2025-07-22T18:49:57Z</dc:date>
    </item>
  </channel>
</rss>

