I want to use the use new feature "Publishing Domino statistics to external services".
And in documentation there is no key substitution string for Domino $ServerName$, see below:
https://help.hcltechsw.com/domino/10.0.1/stats_publish_other_external.html
I have multiple server (more than 100 servers), so must change the configuration for each server because there is no key substitution string for ServerName.
If exists i can use a Configuration Document, to configure all servers.
Example of my settings:
set config STATPUB_ENABLE=1
set config STATPUB_URI=http://elasticsearch.renovations.com:9200/
set config STATPUB_METRIC_FORMAT=""$Name$":$Value$
set config STATPUB_DELTA_METRIC_FORMAT=""$Name$":$Value$
set config STATPUB_HEADERS=X-License-Key: XXXXXX$Newline$Content-Type: application/json$Newline$Accept: application/json$Newline$
set config STATPUB_DATA_HEAD={"host":"myserver","version":"1.0.0","name":"myserver/Renovations","timestamp":"$Timestamp$","guid":"com.renovations.domstats","duration":60,"metrics":{
set config STATPUB_DATA_TAIL=}}
Domino will post the following data on Elasticsearch
{
"host": "myserver",
"version": "1.0.0",
"name": "myserver/Renovations",
"timestamp": "1581518363",
"guid": "com.renovations.domstats",
"duration": 60,
"metrics": {
"ADMINP.DirectoryDocumentsModified": 1,
"ADMINP.RelativeResponsesAdded": 6,
"ADMINP.ReplicasCreated": 4,
.....
}
}