Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Applications Categories

Jump to solution

When you look a the details for a Category it mentions how many applications it contains.

Is it possible and how can you see which applications it contains?

 

thanks

Capture.JPG

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Employee+
Employee+

Re: Applications Categories

Jump to solution

I'm not aware of a mechanism within Smartconsole to match applications based on category.

 

However, it is possible to query them via the API from the command line. This is how I managed to query it from the cli and dump it to a file. This particular script is only selecting options from the additional-categories and not the primary category.

mgmt_cli -r true login > session.id
appcount="`mgmt_cli -s session.id show application-sites -f json limit 1 | jq -r .total`"
displayed=0
touch applist
while [ $displayed -lt $appcount ];
do
mgmt_cli -s session.id show application-sites -f json details-level full limit 100 offset ${displayed} | jq -r '.objects[]|select(."additional-categories"[] | contains("High Bandwidth"))|[.name,."primary-category",."additional-categories"|tostring]|@csv' >> applist
let displayed+=100
done
mgmt_cli -s session.id logout

 

View solution in original post

2 Replies
Highlighted
Employee+
Employee+

Re: Applications Categories

Jump to solution

I'm not aware of a mechanism within Smartconsole to match applications based on category.

 

However, it is possible to query them via the API from the command line. This is how I managed to query it from the cli and dump it to a file. This particular script is only selecting options from the additional-categories and not the primary category.

mgmt_cli -r true login > session.id
appcount="`mgmt_cli -s session.id show application-sites -f json limit 1 | jq -r .total`"
displayed=0
touch applist
while [ $displayed -lt $appcount ];
do
mgmt_cli -s session.id show application-sites -f json details-level full limit 100 offset ${displayed} | jq -r '.objects[]|select(."additional-categories"[] | contains("High Bandwidth"))|[.name,."primary-category",."additional-categories"|tostring]|@csv' >> applist
let displayed+=100
done
mgmt_cli -s session.id logout

 

View solution in original post

Highlighted

Re: Applications Categories

Jump to solution

thanks. This solution works fine.

0 Kudos