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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...