Using ArcGIS Monitor 2023.3.1 I need to create an expression to list all running ArcSOCs (Total and a List of them if it is possible) on an ArcGIS Server Host like below. Can you please let me know how to achieve this?
Solved! Go to Solution.
This is the expression I use to get a total number of ArcSOCs running and then displaying it in a chart (we have multiple servers so we select multiple "ID" and split by the name field to we can see the number of ArcSOCs per machine. If you only have one machine, you'd only select your one machine).
This is the expression I use to get a total number of ArcSOCs running and then displaying it in a chart (we have multiple servers so we select multiple "ID" and split by the name field to we can see the number of ArcSOCs per machine. If you only have one machine, you'd only select your one machine).
Thats how I have it setup as well
Hi Rayan,
Thanks for your post, but I am not seeing any
Observed At in Category Field
And no Value in Statistic Field
! (second image) and the chart is always empty
Hi @RyanUthoff , @BHK and/or @Dan_Brumm - I am in the same position as well. I also do not have an Observed At for a Category and do not see a Value for the Statistic field.
Does anyone out there have a working example of this? Or point us in to a resource? @DerekLaw ?
Hi David,
In my case the trick was missing the last join of Metrics Data to the Metrics
after updating the expression I got everything up and running
And you also need to set your component to the Windows Host component, not the ArcGIS Server component (at least that's how I have mine configured).
Hi @DavidColey,
To query for the number of ArcSOCs running on a host, you can use this data expression:
The Identifier field is "process_instances:arcsoc.exe".
Then you could use the same serial chart configuration that @RyanUthoff mentioned in his post.
Hope this helps,
Hi DerekLaw, is there any GITHUB or somewhere that you guys share some of these Metrics(at least tle most common ones) in a format like image which you shared? se we can follow them and create ours!
Is there any way we can export buitlt-in Metrics expressions?
Thanks
Hi @BHK,
> ... is there any GITHUB or somewhere that you guys share some of these Metrics(at least tle most common ones) in a format like image which you shared?
Sorry, we don't have anything right now. We are planning on publishing more blogs that show how to configure data expressions for different metrics. For example, we have this one:
5 Useful ArcGIS Server Analysis Elements in ArcGIS Monitor
And we're working on one for enterprise portal content and performance metrics. This will be coming out soon.
> Is there any way we can export built-in Metrics expressions?
This feature enhancement request is in the Dev backlog. We're planning on making this functionality available later this year.
Hope this helps,