[7.5] How to grant a user permission to create an index pattern?

Hi
[7.5] How to grant a user permission to create an index pattern?

7.5 is EOL, please upgrade!

Have you seen Defining roles | Elasticsearch Guide [8.5] | Elastic and Security privileges | Elasticsearch Guide [8.5] | Elastic?

  1. What is the command to grant create index pattern to a user or a windows group ?
  2. what is the.command.to list user privileges in elk and kibana?

It is not possible to upgrade now.

Yes I read the doc but it is not so clear to me from the doc what is the exact answer to:

  1. What is the command to grant create index pattern to a user or a windows group ?
  2. what is the.command.to list user privileges in elk and kibana?

Hello.
Ok i dont have ELK 7.5 but i have ELK 7.17...

  1. You can create role for specific space, with permissions "Index pattern management"

Next add mapping this role to user or group.
But for create any index pattern user must have permitions for read any index, that not good) but may be not problem for you case.
You can do it using kibana api if you need command.

  1. Use must use api if you need exactly command:
    Get users API | Elasticsearch Guide [7.5] | Elastic
    Create or update role mappings API | Elasticsearch Guide [7.5] | Elastic