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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...