From 935e48215e4e2f708bc2c74bea29e3f6d7f3599f Mon Sep 17 00:00:00 2001 From: vladd-bit Date: Wed, 4 Mar 2026 12:31:31 +0000 Subject: [PATCH 1/2] Docs: updated ES/OS setup docs. --- docs/deploy/services.md | 14 ++++++++++++- docs/security/elasticsearch_opensearch.md | 24 ++++++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/docs/deploy/services.md b/docs/deploy/services.md index 288290cf..3874707a 100644 --- a/docs/deploy/services.md +++ b/docs/deploy/services.md @@ -410,11 +410,23 @@ Web UI for exploring indexed data, visualising documents, managing index templat - URL: **https://localhost:5601** -#### credentials +#### Credentials - **OpenSearch Dashboards:** `admin` / `admin` - **Elasticsearch Native:** `elastic` / `kibanaserver` +#### First login setup (OpenSearch Dashboards) + +After signing in to OpenSearch Dashboards: + +1. Open the user menu and choose **Switch tenant**. +2. Select `Global` so saved objects are shared across users/roles. +3. Go to **Stack Management** → **Workspaces** and click **Create workspace**. +4. Create a workspace (for example `cogstack-main`) in the `Global` tenant. +5. Create data views/dashboards in that workspace. + +`Private` tenant is isolated per user and should be avoided for shared environments. + #### Containers - `cogstack-kibana` (OpenSearch Dashboards or Kibana depending on configuration) diff --git a/docs/security/elasticsearch_opensearch.md b/docs/security/elasticsearch_opensearch.md index 90f96466..65a3331a 100644 --- a/docs/security/elasticsearch_opensearch.md +++ b/docs/security/elasticsearch_opensearch.md @@ -145,7 +145,7 @@ security/certificates/elastic/opensearch/ | **Kibana** | `elasticsearch-{1,2,3}.crt`, `elasticsearch-{1,2,3}.key`, `elastic-stack-ca.crt.pem` | `security/certificates/elastic/elasticsearch/` | | **OpenDashboard (OpenSearch)** | `admin.pem`, `admin-key.pem`, `es_kibana_client.pem`, `es_kibana_client.key` | `security/certificates/elastic/opensearch/` | -All certificate references in `services/kibana/config/kibana_opensearch.yml` or `services.yml` must point to these locations. +All certificate references in `services/kibana/config/opensearch.yml` or `services.yml` must point to these locations. --- @@ -218,6 +218,28 @@ Troubleshooting: OpenSearch includes default roles (`admin`, `kibanaserver`, `readall`, `snapshotrestore`, etc.) — always change their passwords after first run. +##### OpenSearch Dashboards post-login setup (Global tenant + workspace) + +After your first login to `https://localhost:5601` (default: `admin` / `admin`): + +1. Open the user menu (top-right) and select **Switch tenant**. +2. Select `Global`, then apply the change. +3. Open **Stack Management** → **Workspaces** (or the workspace switcher in the header) and click **Create workspace**. +4. Enter a workspace name (for example `cogstack-main`) and keep it in the `Global` tenant. +5. Save, then create data views and dashboards inside this workspace. + +Use `Global` for shared dashboards and saved objects. +`Private` tenant content is user-specific and not visible to other users. + +If tenant switching or workspace creation is not available in the UI, verify these settings in `services/kibana/config/opensearch.yml`: + +```yaml +opensearch_security.multitenancy.enabled: true +opensearch_security.multitenancy.tenants.enable_global: true +opensearch_security.multitenancy.tenants.preferred: ["Global"] +workspace.enabled: true +``` + --- #### Elasticsearch (native) From d3be6801e15d9f87cfb51dae1392de0caea4f42d Mon Sep 17 00:00:00 2001 From: vladd-bit Date: Mon, 13 Apr 2026 16:17:43 +0100 Subject: [PATCH 2/2] Updated NiFi to 2.9.0 --- deploy/nifi.env | 2 +- nifi/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/nifi.env b/deploy/nifi.env index e8884076..7dedcbfd 100644 --- a/deploy/nifi.env +++ b/deploy/nifi.env @@ -19,7 +19,7 @@ NIFI_DOCKER_LOG_NUM_FILES=10 ############################################################################################################################## -NIFI_VERSION="2.8.0" +NIFI_VERSION="2.9.0" # NiFi Docker image NIFI_DOCKER_IMAGE="cogstacksystems/cogstack-nifi:latest" diff --git a/nifi/Dockerfile b/nifi/Dockerfile index c3b93ee8..74cc912d 100644 --- a/nifi/Dockerfile +++ b/nifi/Dockerfile @@ -1,4 +1,4 @@ -ARG NIFI_VERSION=2.8.0 +ARG NIFI_VERSION=2.9.0 FROM apache/nifi:${NIFI_VERSION}