Splunk AppDynamics

How to create custom metrics in AppDynamics by powershell script?

CommunityUser
Splunk Employee
Splunk Employee

Hello,

The issue is to create custom metric in metrics browser which allows to monitor AWS healthcheck but the most important thing is to create this custom metric by powershell script?

Thank you in advance.

Also, information about creating and updating custom metrics in AppDynamics by Powershell will be helpful.

Labels (1)
0 Karma

Raunak_Mohanty
Builder

Hi,

  Are you Java Machine Agent or .Net Extension Manager to reoport Custom Metric ?

In case of Java Machine Agent using https://docs.appdynamics.com/display/PRO43/Build+a+Monitoring+Extension+Using+Scripts

Then we just to make sure the output to std out is in format

name=<metric name>,value=<long value>,aggregator=<aggregator type>, time-rollup=<time-rollup strategy>, cluster-rollup=<cluster-rollup strategy>

 you can just use PowerShell's write-host to send it to std out

In case you are using .Net Extension Manager you can use following extension

https://www.appdynamics.com/community/exchange/windows-script-monitor/

write-host "metric1 | instance1 , value = $Value";
0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...