From a46b95727ab8a63666f43c35f7e289aaad4a6f54 Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Wed, 28 May 2025 10:18:52 +0530 Subject: [PATCH 1/7] add new logging qualifiers --- modules/n1ql/pages/n1ql-manage/monitoring-n1ql-query.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/n1ql/pages/n1ql-manage/monitoring-n1ql-query.adoc b/modules/n1ql/pages/n1ql-manage/monitoring-n1ql-query.adoc index b0f29e5fd..8042aebb5 100644 --- a/modules/n1ql/pages/n1ql-manage/monitoring-n1ql-query.adoc +++ b/modules/n1ql/pages/n1ql-manage/monitoring-n1ql-query.adoc @@ -717,6 +717,8 @@ A completed request is logged if _any_ of the qualifiers are met (logical OR). `client`:: Log requests from this IP address. `user`:: Log requests with this user name. `context`:: Log requests with this client context ID. +`statement`:: Log requests that match the specified LIKE search pattern in the query text. +`plan`:: Log requests where the specified plan field values appear in the query plan. For full details, see xref:n1ql-rest-admin:index.adoc#Logging_Parameters[Logging Parameters]. From af2dd058c7a9724d0e0c7d027e55f7ffab3e260f Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Mon, 2 Jun 2025 17:27:51 +0530 Subject: [PATCH 2/7] Add a custom preview yml file --- preview/DOC-10001-add-new-logging-qualifiers.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 preview/DOC-10001-add-new-logging-qualifiers.yml diff --git a/preview/DOC-10001-add-new-logging-qualifiers.yml b/preview/DOC-10001-add-new-logging-qualifiers.yml new file mode 100644 index 000000000..61b06e97d --- /dev/null +++ b/preview/DOC-10001-add-new-logging-qualifiers.yml @@ -0,0 +1,10 @@ +sources: + docs-server: + branches: [release/8.0] + docs-devex: + branches: [DOC-10001-add-new-logging-qualifiers] + cb-swagger: + branches: [DOC-10001-add-logging-params] + start_path: docs +override: + startPage: server:introduction:intro.adoc From 844bd39b1d994886afb561cd0dbe758f9d2fe022 Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Mon, 2 Jun 2025 17:47:51 +0530 Subject: [PATCH 3/7] Update custom yml file --- .../DOC-10001-add-new-logging-qualifiers.yml | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/preview/DOC-10001-add-new-logging-qualifiers.yml b/preview/DOC-10001-add-new-logging-qualifiers.yml index 61b06e97d..8dea26b7d 100644 --- a/preview/DOC-10001-add-new-logging-qualifiers.yml +++ b/preview/DOC-10001-add-new-logging-qualifiers.yml @@ -1,10 +1,19 @@ sources: docs-server: branches: [release/8.0] - docs-devex: - branches: [DOC-10001-add-new-logging-qualifiers] - cb-swagger: - branches: [DOC-10001-add-logging-params] - start_path: docs -override: + override: startPage: server:introduction:intro.adoc +DOC-10001-add-new-logging-qualifiers: + sources: + docs-devex: + branches: [DOC-10001-add-new-logging-qualifiers] + override: + site: + startPage: server:develop:intro.adoc +DOC-10001-add-logging-params: + sources: + cb-swagger: + branches: [DOC-10001-add-logging-params] + override: + site: + startPage: server:rest-api:rest-intro.adoc \ No newline at end of file From 6d334afe4855c4bbf61853ebc98a7272ceb0a7e0 Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Mon, 2 Jun 2025 17:59:20 +0530 Subject: [PATCH 4/7] Update custom yml file --- preview/DOC-10001-add-new-logging-qualifiers.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/preview/DOC-10001-add-new-logging-qualifiers.yml b/preview/DOC-10001-add-new-logging-qualifiers.yml index 8dea26b7d..94dd0a685 100644 --- a/preview/DOC-10001-add-new-logging-qualifiers.yml +++ b/preview/DOC-10001-add-new-logging-qualifiers.yml @@ -3,13 +3,6 @@ sources: branches: [release/8.0] override: startPage: server:introduction:intro.adoc -DOC-10001-add-new-logging-qualifiers: - sources: - docs-devex: - branches: [DOC-10001-add-new-logging-qualifiers] - override: - site: - startPage: server:develop:intro.adoc DOC-10001-add-logging-params: sources: cb-swagger: From 05015540d9d78c5bda48d8d8ddb4bf2ed4202e1e Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Tue, 3 Jun 2025 09:54:57 +0530 Subject: [PATCH 5/7] Update custom yml file --- .../DOC-10001-add-new-logging-qualifiers.yml | 17 ++++++----------- preview/HEAD.yml | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/preview/DOC-10001-add-new-logging-qualifiers.yml b/preview/DOC-10001-add-new-logging-qualifiers.yml index 94dd0a685..7f03aa879 100644 --- a/preview/DOC-10001-add-new-logging-qualifiers.yml +++ b/preview/DOC-10001-add-new-logging-qualifiers.yml @@ -1,12 +1,7 @@ sources: - docs-server: - branches: [release/8.0] - override: - startPage: server:introduction:intro.adoc -DOC-10001-add-logging-params: - sources: - cb-swagger: - branches: [DOC-10001-add-logging-params] - override: - site: - startPage: server:rest-api:rest-intro.adoc \ No newline at end of file + cb-swagger: + branches: [DOC-10001-add-logging-params] + start_path: docs +override: + site: + startPage: server:introduction:intro.adoc \ No newline at end of file diff --git a/preview/HEAD.yml b/preview/HEAD.yml index 510379449..770ab0187 100644 --- a/preview/HEAD.yml +++ b/preview/HEAD.yml @@ -1,5 +1,5 @@ sources: docs-server: - branches: [release/7.6] + branches: [release/8.0] override: startPage: server:introduction:intro.adoc From 033d029e8daf0d0478773e89f1a8ddc8ac9f43e0 Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Tue, 3 Jun 2025 10:28:34 +0530 Subject: [PATCH 6/7] Update yml files --- preview/DOC-10001-add-new-logging-qualifiers.yml | 9 +++++---- preview/HEAD.yml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/preview/DOC-10001-add-new-logging-qualifiers.yml b/preview/DOC-10001-add-new-logging-qualifiers.yml index 7f03aa879..a1d6c3c3e 100644 --- a/preview/DOC-10001-add-new-logging-qualifiers.yml +++ b/preview/DOC-10001-add-new-logging-qualifiers.yml @@ -1,7 +1,8 @@ sources: - cb-swagger: + docs-server: + branches: [release/8.0] + cb-swagger: branches: [DOC-10001-add-logging-params] - start_path: docs + start_path: docs override: - site: - startPage: server:introduction:intro.adoc \ No newline at end of file + startPage: server:introduction:intro.adoc \ No newline at end of file diff --git a/preview/HEAD.yml b/preview/HEAD.yml index 770ab0187..510379449 100644 --- a/preview/HEAD.yml +++ b/preview/HEAD.yml @@ -1,5 +1,5 @@ sources: docs-server: - branches: [release/8.0] + branches: [release/7.6] override: startPage: server:introduction:intro.adoc From 6733bbeff001b298b62dc28d0f5b05a10020d61c Mon Sep 17 00:00:00 2001 From: Rakhi Prathap Date: Tue, 10 Jun 2025 09:44:09 +0530 Subject: [PATCH 7/7] Update the preview directory --- preview/DOC-10001-add-new-logging-qualifiers.yml | 8 -------- preview/HEAD.yml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 preview/DOC-10001-add-new-logging-qualifiers.yml diff --git a/preview/DOC-10001-add-new-logging-qualifiers.yml b/preview/DOC-10001-add-new-logging-qualifiers.yml deleted file mode 100644 index a1d6c3c3e..000000000 --- a/preview/DOC-10001-add-new-logging-qualifiers.yml +++ /dev/null @@ -1,8 +0,0 @@ -sources: - docs-server: - branches: [release/8.0] - cb-swagger: - branches: [DOC-10001-add-logging-params] - start_path: docs -override: - startPage: server:introduction:intro.adoc \ No newline at end of file diff --git a/preview/HEAD.yml b/preview/HEAD.yml index 510379449..770ab0187 100644 --- a/preview/HEAD.yml +++ b/preview/HEAD.yml @@ -1,5 +1,5 @@ sources: docs-server: - branches: [release/7.6] + branches: [release/8.0] override: startPage: server:introduction:intro.adoc