wiki:opensearch_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:opensearch_installation [2024/09/03 14:01] – [Creating Opensearch Dashboards users] add when will the sh script be deprecated 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 in the next major release 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.1725372075.txt.gz · Last modified: 2024/09/03 14:01 by antisa