kibana/x-pack/plugins/grokdebugger/public/register_feature.ts
Kerry Gallagher 558dd120a1
Grok debugger migration (#60658)
* Migrates Grok Debugger to new platform
2020-03-31 17:54:34 +01:00

27 lines
982 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { i18n } from '@kbn/i18n';
import {
FeatureCatalogueCategory,
HomePublicPluginSetup,
} from '../../../../src/plugins/home/public';
export const registerFeature = (homePlugin: HomePublicPluginSetup) => {
homePlugin.featureCatalogue.register({
id: 'grokdebugger',
title: i18n.translate('xpack.grokDebugger.registryProviderTitle', {
defaultMessage: 'Grok Debugger',
}),
description: i18n.translate('xpack.grokDebugger.registryProviderDescription', {
defaultMessage: 'Simulate and debug grok patterns for data transformation on ingestion.',
}),
icon: 'grokApp',
path: '/app/kibana#/dev_tools/grokdebugger',
showOnHomePage: false,
category: FeatureCatalogueCategory.ADMIN,
});
};