All Apps and Add-ons

Authorization Token for Splunk Add-on for AppDynamics not Working

sacchini
New Member

Hi Splunk Community,

I have recently installed the Splunk Add-on for AppDynamics, Version 1.6.0 and have been unsuccessful in getting the application to log into a shared controller hosted by AppDynamics:

2017-09-11 16:44:29,288 +0000 log_level=ERROR, pid=6244, tid=Thread-4, file=engine.py, func_name=_send_request, code_line_no=315 | [stanza_name="Service_KPI_AverageResponseTime"] The response status=401 for request which

Within the Inputs section of the Splunk App it indicates to us the following Authorization Token for a multi-tenant controller use the output of: echo -n '@:' | base64'

I've tried updating this section with a SSO based account as well as a AppDynamics local account with no success. I've also tried removing the ' in the string but nothing works. Has anyone had any success here?

0 Karma
1 Solution

jeffbat
Path Finder

The Authorization Token field is the value returned when you change your username:password into base64.

On a Linux machine you would use:
For a single tenant controller use the output of.:

echo -n '@customer1:' | base64

For multi-tenant controller use the output of:

echo -n '@:' | base64

On a Windows machine you can use Powershell with this at a command line:
For a single tenant controller use the output of.:

powershell "[convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes(\"@customer1:\"))"

For multi-tenant controller use the output of:

powershell "[convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes(\"@:\"))"

View solution in original post

0 Karma

jeffbat
Path Finder

The Authorization Token field is the value returned when you change your username:password into base64.

On a Linux machine you would use:
For a single tenant controller use the output of.:

echo -n '@customer1:' | base64

For multi-tenant controller use the output of:

echo -n '@:' | base64

On a Windows machine you can use Powershell with this at a command line:
For a single tenant controller use the output of.:

powershell "[convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes(\"@customer1:\"))"

For multi-tenant controller use the output of:

powershell "[convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes(\"@:\"))"

0 Karma

sacchini
New Member

Thanks Jeff! That worked.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...