I'm trying to bulk upload using a specific user/role and getting an error I don't understand given my configuration. Other than a .yml security file (which I'm not using) I can't work out how to set the specific permission [indices:data/write/bulk[s]].
Could anybody suggest where I look next please
Im using op_type = 'index' in the bulk upload
The error is
security_exception in 5E8CD8DB00008C4F292405AE-1586288859, uploading to bbg-parse-msg-v3-20200409153639054771 because action [indices:data/write/bulk[s]] is unauthorized for user [bbg-ingest]
The role is:
{
"bloomberg-ingest" : {
"cluster" : [
"monitor"
],
"indices" : [
{
"names" : [
"bbg-parse-msg*",
"bbg-parse-ib*"
],
"privileges" : [
"write"
],
"field_security" : {
"grant" : [
"*"
],
"except" : [ ]
},
"allow_restricted_indices" : false
}
],
"applications" : [ ],
"run_as" : [ ],
"metadata" : { },
"transient_metadata" : {
"enabled" : true
}
}
}