mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
[Serverless Search] Disable Grok debugger & Painless Lab (#165772)
## Summary Updated the grok debugger and painless lab plugins to handle the `enabled` config flag so they can easily be disabled for serverless search. ### Screenshots Before:  After: <img width="1914" alt="image" src="ad48ba1b
-0f1d-4da3-aeac-4868781f6832">
This commit is contained in:
parent
4eb45e67c0
commit
2490b5dec6
5 changed files with 26 additions and 8 deletions
|
@ -5,13 +5,15 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { schema } from '@kbn/config-schema';
|
||||
import { offeringBasedSchema, schema } from '@kbn/config-schema';
|
||||
import { KibanaFramework } from './lib/kibana_framework';
|
||||
import { registerGrokdebuggerRoutes } from './routes/api/grokdebugger';
|
||||
|
||||
export const config = {
|
||||
schema: schema.object({
|
||||
enabled: schema.boolean({ defaultValue: true }),
|
||||
enabled: offeringBasedSchema({
|
||||
serverless: schema.boolean({ defaultValue: true }),
|
||||
}),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue