All Apps and Add-ons

Enhancement request - change App to look for Metrics.conf in the local folder instead of the default folder

stmcmahon_splun
Splunk Employee
Splunk Employee

Currently the App looks for the metrics.conf file in the default directory. We would like to change that to look in the local folder instead of the default folder.

Tags (1)
0 Karma
1 Solution

svendby90
Path Finder

Try a change in metrics.py located in the /$SPLUNK_HOME$/etc/apps/appdynamics/bin/ directory.

In the getMetrics-function, replace

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/default/metrics.conf']) 

with

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/local/metrics.conf'])

View solution in original post

0 Karma

svendby90
Path Finder

Try a change in metrics.py located in the /$SPLUNK_HOME$/etc/apps/appdynamics/bin/ directory.

In the getMetrics-function, replace

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/default/metrics.conf']) 

with

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/local/metrics.conf'])
0 Karma

stmcmahon_splun
Splunk Employee
Splunk Employee

Sorry - the AppDynamics tag is in there, but not explicitly stated as AppDynamic. App #1297

0 Karma

ddrillic
Ultra Champion

which App? ; -)

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 ...