SPL
List Deployment Apps and the associated serverClass
Description
| rest /servicesNS/nobody/system/deployment/server/applications/
| search title =*
| rename title as DeploymentApplication, serverclasses as serverClass
| eval line=1 | accum line
| fields line DeploymentApplication serverClass
4 0
Comments
3 total
This query produces zero results for me. I ran in on my SH, and DS. The account I ran it as has admin rights. Any suggestions?
Well dang -- I meant to remove the line '| search title = OIT*' before I saved this and I forgot. Now I can't seem to edit it.\r\n\r\nJust remove that line and it will work fine. On my Deployment Server all my DAs begin with 'OIT' so that's why that is there.\r\n\r\nOne caveat -- I don't think the deployment info in REST was available on 5.x. I'm on 6.5.2
wrangler2x,\r\nI've updated the query to reflect what you said in the comment. Not sure why you can't edit, let me know if the issue persists.\r\n\r\nThanks for posting and sharing!
Leave a comment
You must log in to post a comment.