Splunk AppDynamics

AppDynamics License usage by application name

Pratik_murlidha
Explorer

Hi,

Can we get the license usage summary by application name using API?

I’ve tried the license usage with the license ID and account ID but getting the availability of the license as an output. 

GET /controller/licensing/v1/usage/license/{licenseId} 

(http://<host>:<port>/controller/licensing/v1/usage/license/{licenseId}

http://<host>:<port>/controller/licensing/v1/usage/account/{accountId})

These APIs are running well but not getting the output I’m looking for.

I’m looking for the usage, like how much of the license is consumed in real-time.  

I appreciate any help you can provide.

Labels (1)
0 Karma
1 Solution

Xiangning_Mao
Path Finder

Hi Pratik

Thanks for posting question to the community!

Plz refer to this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...

Hope this answer helps!

BR,

Xiangning

View solution in original post

Rohan_Vaikkath
Explorer

Is there a way to get this by querying the database on an on prem controller?

0 Karma

Xiangning_Mao
Path Finder

If you are talking about ABL, I'm afraid there is not.

However, you can contact Professional Services Team to use Caesar tool to achieve the goal.

Using Caesar Tool we can generate license consumption report for the required account. We have jenkins job to get the report

Caesar tool for on-prem controllers, owned by Professional Services Team

0 Karma

169811
Explorer

do you know if this is still possible?

0 Karma

Xiangning_Mao
Path Finder

Yes, you can contact Professional Services Team to use Caesar tool to achieve the goal.

0 Karma

open768
Path Finder

Hey Pratik,

i've not found a way to do this through the API. but you can count the number of agents per application to give an insight into where the licenses may be being used

eg I do this in my my open source rapport application 

image.jpeg

Rapport is free and can be found at https://chickenkatsu.co.uk/apps/rapport/  

Sunil

Xiangning_Mao
Path Finder

Hi Pratik

Thanks for posting question to the community!

Plz refer to this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...

Hope this answer helps!

BR,

Xiangning

Pratik_murlidha
Explorer

Hi, 
I'm able to retrieve the data by application name using the code in this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...
But the fallbackLicenseUnit parameter in response is giving output as blank. No data is coming for the fallbackLicenseUnit.
Is there any way by which I can get the license consumption units in Infrastructure based Licensing?

0 Karma

Xiangning_Mao
Path Finder

Hi Pratik,

Are you using Infrastructure-based Licensing Packages?

If you are using Agent-based Licensing Packages, there is no API meeting your needs at the moment.

BTW, here is the documentation about Infrastructure-based Licensing Packages and Agent-based Licensing Packages: https://docs.appdynamics.com/appd/22.x/latest/en/appdynamics-licensing

Kind regards,

Xiangning

Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...