No permissions for [] and User when change datanode setting with curl?

Hello, I am trying to modify index.unassigned.node_left.delayed_timeout to 5min, so I enter one of my datanode(with graylog datanode 7.0.1, but got an 403 error:

[root@graylog-data1 gray]# curl -k -XPUT “https://1.1.1.1:9200/_all/_settings?pretty
–cert /root/cert/gray/admin-client.crt
–key /root/cert/gray/admin-client.key
–cacert /root/cert/gray/admin-ca.crt
-H ‘Content-Type: application/json’
-d ‘{“settings”: {“index.unassigned.node_left.delayed_timeout”: “5m”}}’
{
“error” : {
“root_cause” : [
{
“type” : “security_exception”,
“reason” : “no permissions for and User [name=2026, backend_roles=, requestedTenant=null]”
}
],
“type” : “security_exception”,
“reason” : “no permissions for and User [name=2026, backend_roles=, requestedTenant=null]”
},
“status” : 403
}

the three key was generate from graylog web site, in certificate-management. And I am sure they are with all access role, beacuse I can do other things like check shards status.

I did some search, seems in datanode, I can not change the setting with curl command? So, how can I do the change?

Thanks!

Hey @baalkchina,

You will need to do some additional configuration for this to work.

This post outlines the process.