Facing issue in DLS syntax in OpenSearch 2.19.0

Hello,

I have given DLS as below in one role created through roles.yml.

{“bool”: { “must”: [ { “terms”: { “Geo.keyword”: [${attr.proxy.geo}] } }, { “terms”: { “Brand”: [${attr.proxy.brand}] } }, { “terms”: { “Industry”: [${attr.proxy.industry}] } } ] } }

Here it is not identifying ${attr.proxy.brand}. Can you help how to get value dynamically into the variable inside roles.yml file?

Hi @sayalipatil9689 ,

Could you please share your proxy configurations in config.yml ? Please feel free to remove or change any sensitive data.

1 Like

Hi @Eugene7 ,

Issue got resolved. It was an infra issue: due to some configuration changes other team had done, OpenSearch was not identifying the sending attr.proxy.*. They reverted back their changes.

Thank you.

1 Like