Splunk AppDynamics

Collect list of agents

CommunityUser
Splunk Employee
Splunk Employee

Hey all, I want to get the list of AppD agents. I mean we can see those list of agents in settings but I want to get all of those agents to excel sheet. So is there any way that we can export the list of agents and details. Thank you

Labels (1)
Tags (1)
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Hi,

No easy way to do this. But you could try the below options

1) Create small program which can read /controller/rest/applications - List of all applications and get list of nodes from /controller/rest/applications/<application-name|application-id>/nodes

2) Go to AppDynamis Agents page. Take screenshot. Trim the picture. Copy it to One Note. Right click and Copy to Text.

🙂

Regards,

View solution in original post

Daniel_Odievich
Path Finder
Tags (1)

CommunityUser
Splunk Employee
Splunk Employee

If you are the AppD admin for your controller, i would assume you would also have the ability to login to controller database and write a query to pull all the nodes that are being monitored, it also indicates the type of node/agent etc, you can dump that to csv and it works 🙂

Thanks,

Gurmit.

0 Karma

Michael_Horstma
Explorer

That's the track I was on last time.  However, you have to keep in mind that querying a foreign data model arbitrarily leaves you with no idea how you're affecting the tables or services attempting to write into them.  Sure, I could potentially spend a day getting the data model together, figure out all the joins, write a large and complex query, then execute that query hoping the data and controller kept their integrity. 

There could also be an "export agents to XLS or CSV" functionality written by the developers that understand the data model and the impact of querying against them too in the same amount of time that would be available to everyone.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

No easy way to do this. But you could try the below options

1) Create small program which can read /controller/rest/applications - List of all applications and get list of nodes from /controller/rest/applications/<application-name|application-id>/nodes

2) Go to AppDynamis Agents page. Take screenshot. Trim the picture. Copy it to One Note. Right click and Copy to Text.

🙂

Regards,

David_Cryans
Engager

Here's the way I do it.

I do it with Google Chrome and Microsoft Excel, haven't tried with other browsers/spreadsheets

1. Zoom out as much as you can so you get as many agents as possible in your screen

(it doesn't matter if you can't read the text anymore)

2. Click anywhere in the page and drag it to an excel sheet.

No fancy selection needed, this is going to drag the whole page, including the menu.

It will be a bit laggy, but the list will be transfered as-is in an excel spreadsheet.

CommunityUser
Splunk Employee
Splunk Employee
Thanks for the suggestions, I have tried the 1st one with
rest/applications, it’s not working in my environment. So I think 2nd
option the one which I can try and make it done. Thank you
0 Karma

Michael_Horstma
Explorer

When i first signed on as our company's appD admin I was nearly fired for a very similar need and the fact that such a basic feature was unavailable anywhere but by viewing the UI.  There is a configuration exporter that can provide you something somewhat like this, but i think the limitation is FLASH.  Once this application moves to HTML5 entirely, I think that's an easy feature to build in that most C-levels want from their middle men/admins.

0 Karma
Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

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