[Logs+] Improve observability log explorer global search behaviour (#167164)

## Summary

- Closes https://github.com/elastic/kibana/issues/166854 by disabling
the Observability Log Explorer plugin in the es and security serverless
projects.

- Closes https://github.com/elastic/kibana/issues/166912 by expanding
results with `keywords`.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Kerry Gallagher 2023-09-27 12:01:36 +01:00 committed by GitHub
parent 95f428f1e0
commit d7e88167fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@ xpack.apm.enabled: false
xpack.cloudSecurityPosture.enabled: false
xpack.infra.enabled: false
xpack.observabilityLogExplorer.enabled: false
xpack.observability.enabled: false
xpack.securitySolution.enabled: false
xpack.serverless.observability.enabled: false

View file

@ -4,6 +4,7 @@
enterpriseSearch.enabled: false
xpack.apm.enabled: false
xpack.infra.enabled: false
xpack.observabilityLogExplorer.enabled: false
xpack.observability.enabled: false
xpack.uptime.enabled: false
xpack.legacy_uptime.enabled: false

View file

@ -55,6 +55,7 @@ export class ObservabilityLogExplorerPlugin
? AppNavLinkStatus.visible
: AppNavLinkStatus.hidden,
searchable: true,
keywords: ['logs', 'log', 'explorer', 'logs explorer'],
mount: async (appMountParams) => {
const [coreStart, pluginsStart, ownPluginStart] = await core.getStartServices();

View file

@ -10,6 +10,7 @@ import { PluginConfigDescriptor } from '@kbn/core/server';
import { ObservabilityLogExplorerConfig } from '../common/plugin_config';
export const configSchema = schema.object({
enabled: schema.boolean({ defaultValue: true }),
navigation: schema.object({
showAppLink: offeringBasedSchema({
serverless: schema.boolean({