Select to view content in your preferred language

Create Server Services Report

906
5
06-21-2018 10:27 AM
jaykapalczynski
Honored Contributor

I dont see a space for ArcGIS Server 10.5.1... only this space for Prior to 10.0  

 

Is there a way (in ArcGIS Server 10.5.1) that I can run a report that will list out the Root...Group..Services  of my server instance with their corresponding Services

 

Example:  Listing the Root, Service, and RestEndpoints (Map, KML, Feature)  for each Root Site in the Server Instance.

 

Public

     - BirdingWildlifeTrail

           -  https://vxyz/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer

              -  https://vxyz/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer/KmlServer

             -   https://vxyz/arcgis/rest/services/Public/BirdingWildlifeTrail/FeatureServer

     - BoatAccessSites

           -  https://vxyz/arcgis/rest/services/Public/BoatingAccessSites/MapServer

              -  https://vxyz/arcgis/rest/services/Public/BoatingAccessSites/MapServer/KmlServer

             -   https://vxyz/arcgis/rest/services/Public/BoatingAccessSites/FeatureServer

SandBox

     - Testing

           -  https://vxyz/arcgis/rest/services/Public/Testing/MapServer

              -  https://vxyz/arcgis/rest/services/Public/Testing/MapServer/KmlServer

             -   https://vxyz/arcgis/rest/services/Public/Testing/FeatureServer

 

0 Kudos
5 Replies
jaykapalczynski
Honored Contributor

I see that there is quite a bit of info and xml files that I can datamine here: C:\arcgisserver\

But not sure where to find the information I am seeking...if its even there.

again trying to list Every Root Site - With the Service Names and the RestEndPoints for each of the services (map, KML, Feature) See my initial post for this format.

Any thoughts?

0 Kudos
EarlMedina
Esri Regular Contributor

Jay, I believe System Log Parser could be useful to you: https://arcgismonitor.maps.arcgis.com/home/item.html?id=dacebd64a0a04c87b1c48905e2cfc70d 

This is basically a handy tool which generates an excel spreadsheet report of all of your ArcGIS Server Services (names, min/max instances, etc.).

Alternately, you could use a python script for the purpose just as this one: Example: Write properties of all services to a CSV file—ArcGIS Server Administration (Windows) | Arc... 

0 Kudos
jaykapalczynski
Honored Contributor

Earl

Im confused on the MongoDB.  Is this installed locally?  

0 Kudos
EarlMedina
Esri Regular Contributor

Hi Jay - forget about the ArcGIS Monitor branding on the page for a moment. System Log Parser was (and still is) a standalone executable. For a better description of what the tool does see this page: https://www.arcgis.com/home/item.html?id=90134fb0f1c148a48c65319287dde2f7 - really all that's happened here is that the download page has changed. No MongoDB required.

0 Kudos
by Anonymous User
Not applicable

Hi jay kapalczynski‌,

There is a rest endpoint to call from arcgis admin site to get list of services in json format.

Lets assume your arcgis manager url is https://[domain]/arcgis/manager

The url format is 

https://[domain]/arcgis/admin/services?f=json (this is for root folder)

https://[domain]/arcgis/admin/services/[subfolder]?f=json (this is for sub folder)

If your environment is federated, you shall need to generate the token first.

If you want to perform report programmatically, append the query with [token] query string.

0 Kudos