<?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: Create Action for Database Visibility Event based Custom Metrics in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739955#M11675</link>
    <description>&lt;P&gt;Ahhh so I went to &lt;STRONG&gt;Databases&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Configuration&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Custom Metrics&lt;/STRONG&gt; and set the &lt;STRONG&gt;Custom Query Metric Type&lt;/STRONG&gt; to be &lt;STRONG&gt;Event Data&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Put in my SQL query and selected the DBs to run it against and it creates events in &lt;STRONG&gt;Databases&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Events&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 21:54:19 GMT</pubDate>
    <dc:creator>Jeremy_Bertensh</dc:creator>
    <dc:date>2021-05-26T21:54:19Z</dc:date>
    <item>
      <title>Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739949#M11669</link>
      <description>&lt;P&gt;I've created a custom metric that populates the events tab in database visibility with data from a query, is it possible to create an action that matches these to send them via email, HTTP request, etc?&lt;/P&gt;

&lt;P&gt;I assume the other option is to pull them via the API but I'd rather not have to write something specifically to do this.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Jeremy.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 00:16:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739949#M11669</guid>
      <dc:creator>Jeremy_Bertensh</dc:creator>
      <dc:date>2021-05-21T00:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739950#M11670</link>
      <description>&lt;P&gt;Hi Jeremy&lt;/P&gt;

&lt;P&gt;If the custom events are being populated, you can just create a new policy and select the Custom Events from the options&lt;/P&gt;

&lt;P&gt;Which you can then add actions to send email etc. once those events are picked up&lt;/P&gt;

&lt;DIV id="tinyMceEditorMario.Morelli_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Custom_Event.png" style="width: 984px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35418i0BADF71FB6927D56/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 07:07:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739950#M11670</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-05-21T07:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739951#M11671</link>
      <description>&lt;P&gt;Thanks Mario, but I'm unsure what to put in for the type etc, any suggestions?&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 21:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739951#M11671</guid>
      <dc:creator>Jeremy_Bertensh</dc:creator>
      <dc:date>2021-05-23T21:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739952#M11672</link>
      <description>&lt;P&gt;Hi Jeremy&lt;/P&gt;

&lt;P&gt;The Type needs to be set to the customevent type that you set for the custom events you are sending to AppDynamics&lt;/P&gt;

&lt;P&gt;e.g if you set the&amp;nbsp;&lt;SPAN&gt;customeventtype=mydbevents, you need to set that as the value for the type&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/21.5/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/events-and-action-suppression-api" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.appdynamics.com/21.5/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/events-and-action-suppression-api&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you look at the above documentation, you can set additional&amp;nbsp;&lt;SPAN&gt;propertynames:propertyvalues, that you can use in the Policies, which you can't see in the UI, however, they are used in the Health rule policies to be used to filter different subtypes of Events.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Simple use case, you are sending both Oracle &amp;amp; MSSQL Events to AppDynamics&lt;/P&gt;
&lt;P&gt;You can set the following in your script or tool that is sending the events to AppD.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;customeventtype:mydbevents&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Then set the following values depending on which DB Type the event is for(propertynames:propertyvalues)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;dbtype:MSSQL or&amp;nbsp;dbtype:ORACLE&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;That way you can create separate&amp;nbsp;policies for MSSQL &amp;amp; Oracle by using the parameter values&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I hope I am making sense:)&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 06:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739952#M11672</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-05-24T06:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739953#M11673</link>
      <description>&lt;P&gt;Ahhhh I'm not sending them to AppD though, they are created thru the custom metrics section in the controller UI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 21:50:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739953#M11673</guid>
      <dc:creator>Jeremy_Bertensh</dc:creator>
      <dc:date>2021-05-24T21:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739954#M11674</link>
      <description>&lt;P&gt;Thanks, Jeremy&lt;/P&gt;

&lt;P&gt;Completely misunderstood the initial request:)&lt;/P&gt;

&lt;P&gt;Can you please provide more info on the following&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I've created a custom metric that populates the events tab in database visibility with data from a query&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you advise what you did here, created a custom metrics query? This in itself will not create events in the events tab, so I assume you created a health rule on the returned values. Which then populated the events tab correct?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;, is it possible to create an action that matches these to send them via email, HTTP request, etc?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes, since you created the health rule, all you have to do, is create an action, e.g send an email to whomever. And the create a policy, which you then select the health rules, and the action that needs to happen when they are triggered&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 07:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739954#M11674</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-05-25T07:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739955#M11675</link>
      <description>&lt;P&gt;Ahhh so I went to &lt;STRONG&gt;Databases&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Configuration&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Custom Metrics&lt;/STRONG&gt; and set the &lt;STRONG&gt;Custom Query Metric Type&lt;/STRONG&gt; to be &lt;STRONG&gt;Event Data&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Put in my SQL query and selected the DBs to run it against and it creates events in &lt;STRONG&gt;Databases&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Events&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 21:54:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739955#M11675</guid>
      <dc:creator>Jeremy_Bertensh</dc:creator>
      <dc:date>2021-05-26T21:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739956#M11676</link>
      <description>&lt;P&gt;Ah ok, that makes things clear.&lt;/P&gt;

&lt;P&gt;All you do, is create the action, e.g send email. And then you create policy, and in the custom event tab(add&amp;nbsp;&lt;SPAN&gt;Custom Event Type attribute)&lt;/SPAN&gt;, you use the name you used when creating the custom database query.&lt;/P&gt;

&lt;P&gt;So if your custom query was named - Query_1, you would set the&amp;nbsp;&lt;SPAN&gt;Custom Event Type value in the Policy to that. Without adding any additional&amp;nbsp;properties etc.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Hope this clears it up&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Ciao&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 13:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739956#M11676</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-05-27T13:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739957#M11677</link>
      <description>&lt;P&gt;Brilliant, that works, thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 21:47:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739957#M11677</guid>
      <dc:creator>Jeremy_Bertensh</dc:creator>
      <dc:date>2021-05-31T21:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create Action for Database Visibility Event based Custom Metrics</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739958#M11678</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Thanks for this, It helped me too. May I know if we can use the Properties to apply this policy only for specific events&amp;nbsp; or make this policy applicable only for certain DB's in the cluster? If yes, How do we reference the Custom DB event fields?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is it possible to provide conditions on the&amp;nbsp; DB Event Details which will have the query output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 10:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Create-Action-for-Database-Visibility-Event-based-Custom-Metrics/m-p/739958#M11678</guid>
      <dc:creator>Kishor_D_R</dc:creator>
      <dc:date>2023-09-04T10:42:13Z</dc:date>
    </item>
  </channel>
</rss>

