Access Rest and Soap logs when applying services filter using ArcGIS REST API

581
1
06-04-2020 09:21 AM
Jelle_Stu_PR
Occasional Contributor II

I am successfully able to access the ArcGIS Server logs with a filter on map Services using a query through an url.

Eg URL :

https://map.domain.com/arcgis/admin/logs/query?startTime=2020-06-04T00:00:00&endTime=2020-06-04T23:59:59&level=WARNING&filterType=json&filter={'services': ['my_service'], 'resources':['rest']}&f=html

The issue is that when applying this 'my_service'' filter, the logs from the 'Soap' and "Rest' target are not included. When removing the services filter from the query, some rest and soap logs are returned as expected. 

Is there a way to include 'Rest' and 'Soap' logs when applying a services filter through an URL? Including 'Rest' and/or 'Soap' in the filter does not work. I have also tried using the parameter 'resources': ['rest'] in the filter as suggested here, but this did not work.

Anybody have any idea?

Thanks in advance.

best,

Jelle

Software: ArcGIS Enterprise with portal 10.5.1

0 Kudos
1 Reply
Jelle_Stu_PR
Occasional Contributor II

Found the answer myself! Through ArcGIS Server the 'server' parameter needs te be included:  'server':'+' OR  'server':['REST']

0 Kudos