<?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: Is there a way to add a tag to Custom Log events (Events Extraction) so it can be used in Alerting Profiles? in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/232283#M3961</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/29954"&gt;@runatyr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try adding Log Event Properties to your Extracted Log Event.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-events#create-a-log-event" target="_blank" rel="noopener"&gt;Create Log Event&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From the docs:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A property is a key/value pair that is set on every triggered event. You can have one or more placeholders as a value that will be extracted from the log data. For example, a property with&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;set to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PGI&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;of placeholder&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;{dt.entity.process_group_instance}&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;will extract the process group instance value from log data once the event is triggered. If the placeholder substitution fails, both the key and the value will not be available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 21:53:45 GMT</pubDate>
    <dc:creator>LawrenceBarratt</dc:creator>
    <dc:date>2023-12-18T21:53:45Z</dc:date>
    <item>
      <title>Is there a way to add a tag to Custom Log events (Events Extraction) so it can be used in Alerting Profiles?</title>
      <link>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/231392#M3954</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I have an alerting profile that is based upon sending alerts only with certain Tags.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently created my first Cusomt Log Event under &lt;STRONG&gt;Log Monitoring&lt;/STRONG&gt;--&amp;gt;&lt;STRONG&gt;Events Extraction.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Log event works, I have it set as a custom Log event. It populates in the problem window.&lt;/P&gt;&lt;P&gt;However, I want to be able to add a tag to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is this done?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 19:39:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/231392#M3954</guid>
      <dc:creator>runatyr</dc:creator>
      <dc:date>2023-12-08T19:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a tag to Custom Log events (Events Extraction) so it can be used in Alerting Profiles?</title>
      <link>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/231393#M3955</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/29954"&gt;@runatyr&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;if your log is collected thru OneAgent, it will set the target entity as the host/PG from where the log come, so the tag you have in that entity will be used by your alerting profile.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 20:31:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/231393#M3955</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-12-08T20:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a tag to Custom Log events (Events Extraction) so it can be used in Alerting Profiles?</title>
      <link>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/232279#M3960</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Thanks dannemca.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The log is collected through OneAgent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So then, if that host has no tag, none will come from the alerting profile. Is that correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 19:30:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/232279#M3960</guid>
      <dc:creator>runatyr</dc:creator>
      <dc:date>2023-12-18T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a tag to Custom Log events (Events Extraction) so it can be used in Alerting Profiles?</title>
      <link>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/232283#M3961</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/29954"&gt;@runatyr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try adding Log Event Properties to your Extracted Log Event.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-events#create-a-log-event" target="_blank" rel="noopener"&gt;Create Log Event&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From the docs:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A property is a key/value pair that is set on every triggered event. You can have one or more placeholders as a value that will be extracted from the log data. For example, a property with&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;set to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PGI&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;of placeholder&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;{dt.entity.process_group_instance}&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;will extract the process group instance value from log data once the event is triggered. If the placeholder substitution fails, both the key and the value will not be available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 21:53:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/232283#M3961</guid>
      <dc:creator>LawrenceBarratt</dc:creator>
      <dc:date>2023-12-18T21:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a tag to Custom Log events (Events Extraction) so it can be used in Alerting Profiles?</title>
      <link>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/255026#M4825</link>
      <description>&lt;P&gt;I have a similar situation.&amp;nbsp; I have log ingestion by the api.&amp;nbsp; Fields im sending are content, log level, host.id, application.&amp;nbsp; Customer wants a maintenance window for this event extraction that generate a problem card.&amp;nbsp; So how do I setup the entity for this?&amp;nbsp; I do not see an entity filed for Logs or host.id?&amp;nbsp; Any ideas how to include this custom event extraction to not alert during off hours?&amp;nbsp; How would I construct the entity selector to include this in my maintenance window?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:29:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Is-there-a-way-to-add-a-tag-to-Custom-Log-events-Events/m-p/255026#M4825</guid>
      <dc:creator>CTull</dc:creator>
      <dc:date>2024-09-05T14:29:32Z</dc:date>
    </item>
  </channel>
</rss>

