wiki:opensearch_installation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:opensearch_installation [2024/08/27 12:46] – created antisa | wiki:opensearch_installation [2025/03/05 14:59] (current) – [See also] antisa | ||
|---|---|---|---|
| Line 99: | Line 99: | ||
| in this example | in this example | ||
| - | |||
| - | ==== Creating Opensearch Dashboards users ==== | ||
| - | |||
| - | You can use UI and create new users then assign roles to this user in // | ||
| - | |||
| - | Another way is to add the users directly in config file /// | ||
| - | |||
| - | < | ||
| - | user1: | ||
| - | hash: " | ||
| - | reserved: true | ||
| - | backend_roles: | ||
| - | - " | ||
| - | description: | ||
| - | </ | ||
| - | |||
| - | If the Opensearch is already running and you add the above in config file you need to run the securityadmin.sh (which will be deprecated https:// | ||
| - | |||
| - | cd / | ||
| - | |||
| - | Take care when running this because any users created through web UI will be destroyed (https:// | ||
| - | |||
| - | cd / | ||
| - | |||
| - | then add the user to internal_users.yml file. | ||
| ==== Troubleshooting ==== | ==== Troubleshooting ==== | ||
| Line 165: | Line 140: | ||
| useExpandedHeader: | useExpandedHeader: | ||
| </ | </ | ||
| + | |||
| + | === Can't login and you get a json 401 response === | ||
| + | E.g. | ||
| + | |||
| + | {" | ||
| + | |||
| + | This might happen if you are proxying connections to OS Dashboard for example, using nginx + auth_basic for authentication. It seems the username/ | ||
| + | |||
| + | There might be a solution for this [[https:// | ||
| ====== Tested on ====== | ====== Tested on ====== | ||
| Line 171: | Line 155: | ||
| ====== See also ====== | ====== See also ====== | ||
| * [[wiki: | * [[wiki: | ||
| + | * [[wiki: | ||
| + | * [[wiki: | ||
| ====== References ====== | ====== References ====== | ||
wiki/opensearch_installation.1724762782.txt.gz · Last modified: by antisa
