Wondering if consul agent provides a REST api to display all the agent configuration it was started with ?
I wanted to check if the running agent has log_rotate_duration enabled and if so how long.
Appreciate a reply.
Thanks
Wondering if consul agent provides a REST api to display all the agent configuration it was started with ?
I wanted to check if the running agent has log_rotate_duration enabled and if so how long.
Appreciate a reply.
Thanks
For the local agent you can use the /agent/self
path.
curl -s http://localhost:8500/v1/agent/self | jq -r .DebugConfig.LogRotateDuration