Using _user security variable inside ingest pipeline

0

Hello,

I have setup a domain that uses IAM auth via cognito. I created the below ingest pipeline. However, the user property is always an empty string. Does aws open search support the _user security variable.

PUT _ingest/pipeline/post
{
  "description": "post",
  "processors": [
    {
      "set": {
        "description": "Add user info",
        "field": "user",
        "value": "{{_user.username}}"
      }
    }
  ]
}
druid
asked 2 years ago44 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions