kibana/api_docs/kbn_legacy_logging.json
Stacey Gammon e92a945ab1
Add packages to our API documentation (#113564) (#114513)
* Add packages

* Update docs

* Fix test and types

* debug heap size

* remove debug heap line

* updated docs
# Conflicts:
#	api_docs/alerting.mdx
#	api_docs/apm.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/custom_integrations.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_data_views.json
#	api_docs/data_data_views.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/discover_enhanced.json
#	api_docs/embeddable.json
#	api_docs/event_log.mdx
#	api_docs/fleet.mdx
#	api_docs/home.json
#	api_docs/index_management.json
#	api_docs/interactive_setup.mdx
#	api_docs/kibana_legacy.json
#	api_docs/kibana_legacy.mdx
#	api_docs/observability.mdx
#	api_docs/plugin_directory.mdx
#	api_docs/security_oss.mdx
2021-10-11 13:58:18 -04:00

584 lines
18 KiB
JSON

{
"id": "@kbn/legacy-logging",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.attachMetaData",
"type": "Function",
"tags": [],
"label": "attachMetaData",
"description": [],
"signature": [
"(message: string, metadata?: Record<string, any>) => { [metadataSymbol]: { message: string; metadata: Record<string, any>; }; }"
],
"path": "packages/kbn-legacy-logging/src/metadata.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.attachMetaData.$1",
"type": "string",
"tags": [],
"label": "message",
"description": [],
"signature": [
"string"
],
"path": "packages/kbn-legacy-logging/src/metadata.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.attachMetaData.$2",
"type": "Object",
"tags": [],
"label": "metadata",
"description": [],
"signature": [
"Record<string, any>"
],
"path": "packages/kbn-legacy-logging/src/metadata.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.getLoggingConfiguration",
"type": "Function",
"tags": [],
"label": "getLoggingConfiguration",
"description": [
"\nReturns the `@hapi/good` plugin configuration to be used for the legacy logging"
],
"signature": [
"(config: ",
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
},
", opsInterval: number) => { ops: { interval: number; }; includes: { request: string[]; response: string[]; }; reporters: { logReporter: ",
"LogInterceptor",
"[]; }; }"
],
"path": "packages/kbn-legacy-logging/src/get_logging_config.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.getLoggingConfiguration.$1",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
}
],
"path": "packages/kbn-legacy-logging/src/get_logging_config.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.getLoggingConfiguration.$2",
"type": "number",
"tags": [],
"label": "opsInterval",
"description": [],
"signature": [
"number"
],
"path": "packages/kbn-legacy-logging/src/get_logging_config.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.reconfigureLogging",
"type": "Function",
"tags": [],
"label": "reconfigureLogging",
"description": [],
"signature": [
"(server: ",
"Server",
", config: ",
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
},
", opsInterval: number) => void"
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.reconfigureLogging.$1",
"type": "Object",
"tags": [],
"label": "server",
"description": [],
"signature": [
"Server"
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.reconfigureLogging.$2",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
}
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.reconfigureLogging.$3",
"type": "number",
"tags": [],
"label": "opsInterval",
"description": [],
"signature": [
"number"
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLogging",
"type": "Function",
"tags": [],
"label": "setupLogging",
"description": [],
"signature": [
"(server: ",
"Server",
", config: ",
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
},
", opsInterval: number) => Promise<void>"
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLogging.$1",
"type": "Object",
"tags": [],
"label": "server",
"description": [],
"signature": [
"Server"
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLogging.$2",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
}
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLogging.$3",
"type": "number",
"tags": [],
"label": "opsInterval",
"description": [],
"signature": [
"number"
],
"path": "packages/kbn-legacy-logging/src/setup_logging.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLoggingRotate",
"type": "Function",
"tags": [],
"label": "setupLoggingRotate",
"description": [],
"signature": [
"(server: ",
"Server",
", config: ",
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
},
") => Promise<",
"LogRotator",
" | undefined>"
],
"path": "packages/kbn-legacy-logging/src/rotate/index.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLoggingRotate.$1",
"type": "Object",
"tags": [],
"label": "server",
"description": [],
"signature": [
"Server"
],
"path": "packages/kbn-legacy-logging/src/rotate/index.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.setupLoggingRotate.$2",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "@kbn/legacy-logging",
"scope": "server",
"docId": "kibKbnLegacyLoggingPluginApi",
"section": "def-server.LegacyLoggingConfig",
"text": "LegacyLoggingConfig"
}
],
"path": "packages/kbn-legacy-logging/src/rotate/index.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig",
"type": "Interface",
"tags": [
"deprecated"
],
"label": "LegacyLoggingConfig",
"description": [],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": true,
"references": [],
"children": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.silent",
"type": "boolean",
"tags": [],
"label": "silent",
"description": [],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.quiet",
"type": "boolean",
"tags": [],
"label": "quiet",
"description": [],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.verbose",
"type": "boolean",
"tags": [],
"label": "verbose",
"description": [],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.events",
"type": "Object",
"tags": [],
"label": "events",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.dest",
"type": "string",
"tags": [],
"label": "dest",
"description": [],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.filter",
"type": "Object",
"tags": [],
"label": "filter",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.json",
"type": "boolean",
"tags": [],
"label": "json",
"description": [],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.timezone",
"type": "string",
"tags": [],
"label": "timezone",
"description": [],
"signature": [
"string | undefined"
],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
},
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.LegacyLoggingConfig.rotate",
"type": "Object",
"tags": [],
"label": "rotate",
"description": [],
"signature": [
"{ enabled: boolean; everyBytes: number; keepFiles: number; pollingInterval: number; usePolling: boolean; pollingPolicyTestTimeout?: number | undefined; }"
],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [],
"objects": [
{
"parentPluginId": "@kbn/legacy-logging",
"id": "def-server.legacyLoggingConfigSchema",
"type": "Object",
"tags": [],
"label": "legacyLoggingConfigSchema",
"description": [],
"signature": [
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.ObjectType",
"text": "ObjectType"
},
"<{ silent: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<boolean>; quiet: ",
"ConditionalType",
"<true, boolean, boolean>; verbose: ",
"ConditionalType",
"<true, boolean, boolean>; events: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<Record<string, any>>; dest: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<string>; filter: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<Record<string, any>>; json: ",
"ConditionalType",
"<\"stdout\", boolean, boolean>; timezone: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<string | undefined>; rotate: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.ObjectType",
"text": "ObjectType"
},
"<{ enabled: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<boolean>; everyBytes: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<number>; keepFiles: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<number>; pollingInterval: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<number>; usePolling: ",
{
"pluginId": "@kbn/config-schema",
"scope": "server",
"docId": "kibKbnConfigSchemaPluginApi",
"section": "def-server.Type",
"text": "Type"
},
"<boolean>; }>; }>"
],
"path": "packages/kbn-legacy-logging/src/schema.ts",
"deprecated": false,
"initialIsOpen": false
}
]
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}