I would like to know if it possible to change the defaults settings on the DX. I'd like to put the Override Custom IP Log Header in the cluster's settings in mode advanced, by default.
If it's possible what is the procedure to do this;
set cluster <name> customiplogheader <description>
To reset it back to using the global value use:
clear cluster <name> customiplogheader
The 5.3 Command Reference manual has the following information about setting the global value:
set server customiplogheader
that will be added along with the client’s original IP at the client’s request. The
header can either be a literal or a custom field in which the DX will insert the origin
client’s IP address. For additional information, see the “Logging” chapter of the
Setting cusomiplogheader to “X-Forwarded-For” allows you to override the
do so, set “X-Forwarded-For” to the client's IP address, then set the
This command does not take effect until after a write operation.
Syntax: set server customiplogheader <header>
To reset this global variable use:
clear server customiplogheader