Splunk AppDynamics

Custom Powershell script, metrics not available in metric browser

CommunityUser
Splunk Employee
Splunk Employee

Hello,

we created a script in PowerShell to evaluate network bandwidth. We followed best practice suggested by appdynamics but we are not able to see the metrics.

 The script is saved in the machine agent path and its name is network_bandwith.ps1 launched by a cmd script called launch.cmd

All scripts, monitor.xml and machine-agent.log are in attachment

Any suggestion?

^ Edited to remove log file attachment by @Ryan.Paredez. Do not paste or attach log files to your post for security and privacy reasons

Labels (1)
Tags (1)
0 Karma

Brian_Wheeldon
Contributor
What gets written to stdout when you run launch.cmd?
Other than the odd spelling of "NetworkBandwidt" I don't see anything obviously wrong with the script or configuration.
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Dear Brian,

thanks for your feedback, the output seems to be compliant to appdynamics. I attached a screenshot.

Thanks again.

0 Karma

Brian_Wheeldon
Contributor
The values must be integers. It's possible that it's rejecting these floating point values.
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...