Using the Check Service Observer can I record the matched regex value as the monitor metric?
e.g: Obtaining how many surveys have been submitted in last 7 days - Check Service Observer Settings
Interval
1 hour
Enabled
Yes
Request URL
https://<server>/server/rest/services/Hosted/survey123_64fc8266b5ec47388f40eac47f863f3a/FeatureServer/0/query
request_data
[ { "key": "where", "value": "<DateField> >= CURRENT_TIMESTAMP -+ INTERVAL '7' DAY" }, { "key": "format", "value": "json" }, { "key": "returnIdsOnly", "value": "true" } ]
Request Method
get
Response Check
\d+
I would prefer to use 'returnCountOnly' and then separately be able to ingest a value from the FC attributes for other alerting purposes.