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!

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...

Application management with Targeted Application Install for Victoria Experience

Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...