From 968d786760c45f640029a6874d24e8542cbafff6 Mon Sep 17 00:00:00 2001 From: Faisal Kanout Date: Mon, 19 Jun 2023 19:12:44 +0300 Subject: [PATCH] [AO] Set Feature flag of the Log threshold alert detail page to ON by default (#159947) ## Summary it fixes #159945 ## Release note: Introducing the Log threshold alert detail page, which provides more information and context about the Logs threshold alert --- x-pack/plugins/observability/server/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/observability/server/index.ts b/x-pack/plugins/observability/server/index.ts index 6a5d905bb6f60..1bdacac1aee58 100644 --- a/x-pack/plugins/observability/server/index.ts +++ b/x-pack/plugins/observability/server/index.ts @@ -19,6 +19,7 @@ import { WrappedElasticsearchClientError, } from '../common/utils/unwrap_es_response'; import { observabilityCoPilotConfig } from './services/openai/config'; + export { rangeQuery, kqlQuery, termQuery, termsQuery } from './utils/queries'; export { getInspectResponse } from '../common/utils/get_inspect_response'; @@ -35,7 +36,8 @@ const configSchema = schema.object({ enabled: schema.boolean({ defaultValue: false }), }), logs: schema.object({ - enabled: schema.boolean({ defaultValue: false }), + // Enable it by default: https://github.com/elastic/kibana/issues/159945 + enabled: schema.boolean({ defaultValue: true }), }), uptime: schema.object({ enabled: schema.boolean({ defaultValue: false }),