Upgrading the Agent
Updating ReadonlyREST Configuration
These are the following changes required for the Waratek Agent v22.2.4+ to ensure that the Elasticsearch connectivity startup check is performed. Without the following steps, the Waratek Agent (v22.2.4+) won’t be able to connect to Portal Dedicated.
The readonlyrest configuration should be updated to allow Agents perform status checks on the Elasticsearch cluster.
-
Find the
readonlyrest.yml
file. Note that the file distributed with the MC is a sample file. The actual configuration lives in theconfig
directory of the Elasticsearch installation. -
Update the file. It is easiest to apply the changes manually in a text editor to avoid formatting issues:
- Add
HEAD
to methods property values - Add
"cluster:monitor/main"
to actions property values
- Add
For reference, the before snippet:
methods: [PUT, POST]
actions: ["indices:data/write/bulk", "indices:data/write/index"]
And after:
methods: [PUT, POST, HEAD]
actions: ["indices:data/write/bulk", "indices:data/write/index", "cluster:monitor/main"]