## Summary Phase 1 of a multi-phase cautious approach for adding an experimental application cache for Kibana solutions called `metric_entities` and integrates it within Security Solutions. Phase 1 is putting experimental support into the application without breaking existing features. Lots of TODO's, conversations and a possible RFC from phase 1 to phase 2 approach. Some features are missing, but for phase 1 the general idea and code is all there. To enable this first phase after checking out the branch add this to your `kibana.dev.yml` ```yml xpack.metricsEntities.enabled: true xpack.securitySolution.enableExperimental: ['metricsEntitiesEnabled'] ``` Then go into Stack Management -> Advanced Settings (Under Security Solutions) and set the enabled to true like so: <img width="1229" alt="Screen Shot 2021-04-08 at 2 21 02 PM" src="https://user-images.githubusercontent.com/1151048/114091276-b3cbb700-9875-11eb-9083-5c1d91dd20ed.png"> Next go to the security_solutions page and you will see it being activated and you will have these transforms running if you look under stack management: <img width="1710" alt="Screen Shot 2021-04-29 at 2 00 27 PM" src="https://user-images.githubusercontent.com/1151048/116611174-4a2e4e00-a8f3-11eb-9e15-55cb504dfb2a.png"> On the hosts page, network, page, etc... You can see them being activated when you have no query/filter and you click on request: <img width="1405" alt="Screen Shot 2021-04-29 at 2 01 28 PM" src="https://user-images.githubusercontent.com/1151048/116611274-6a5e0d00-a8f3-11eb-9998-9f5b3d1c5c63.png"> You will see in the request the index patterns all starting with `estc_xyz*` ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md) We have lots of TODO's but no concrete docs with this just yet. - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials Behind a feature flag and this isn't there yet. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
98 lines
5.4 KiB
JSON
98 lines
5.4 KiB
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
// overhead is too significant
|
|
"incremental": false,
|
|
"types": ["node"]
|
|
},
|
|
"include": ["**/*", "../../typings/**/*", "../../packages/kbn-test/types/ftr_globals/**/*"],
|
|
"references": [
|
|
{ "path": "../../src/core/tsconfig.json" },
|
|
{ "path": "../../src/plugins/bfetch/tsconfig.json" },
|
|
{ "path": "../../src/plugins/charts/tsconfig.json" },
|
|
{ "path": "../../src/plugins/console/tsconfig.json" },
|
|
{ "path": "../../src/plugins/dashboard/tsconfig.json" },
|
|
{ "path": "../../src/plugins/data/tsconfig.json" },
|
|
{ "path": "../../src/plugins/discover/tsconfig.json" },
|
|
{ "path": "../../src/plugins/embeddable/tsconfig.json" },
|
|
{ "path": "../../src/plugins/es_ui_shared/tsconfig.json" },
|
|
{ "path": "../../src/plugins/expressions/tsconfig.json" },
|
|
{ "path": "../../src/plugins/home/tsconfig.json" },
|
|
{ "path": "../../src/plugins/index_pattern_management/tsconfig.json" },
|
|
{ "path": "../../src/plugins/kibana_overview/tsconfig.json" },
|
|
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
|
{ "path": "../../src/plugins/kibana_usage_collection/tsconfig.json" },
|
|
{ "path": "../../src/plugins/kibana_utils/tsconfig.json" },
|
|
{ "path": "../../src/plugins/legacy_export/tsconfig.json" },
|
|
{ "path": "../../src/plugins/management/tsconfig.json" },
|
|
{ "path": "../../src/plugins/navigation/tsconfig.json" },
|
|
{ "path": "../../src/plugins/newsfeed/tsconfig.json" },
|
|
{ "path": "../../src/plugins/saved_objects_management/tsconfig.json" },
|
|
{ "path": "../../src/plugins/saved_objects_tagging_oss/tsconfig.json" },
|
|
{ "path": "../../src/plugins/saved_objects/tsconfig.json" },
|
|
{ "path": "../../src/plugins/share/tsconfig.json" },
|
|
{ "path": "../../src/plugins/telemetry_collection_manager/tsconfig.json" },
|
|
{ "path": "../../src/plugins/telemetry_management_section/tsconfig.json" },
|
|
{ "path": "../../src/plugins/telemetry/tsconfig.json" },
|
|
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
|
|
{ "path": "../../src/plugins/url_forwarding/tsconfig.json" },
|
|
{ "path": "../../src/plugins/usage_collection/tsconfig.json" },
|
|
{ "path": "../plugins/actions/tsconfig.json" },
|
|
{ "path": "../plugins/alerting/tsconfig.json" },
|
|
{ "path": "../plugins/apm/tsconfig.json" },
|
|
{ "path": "../plugins/banners/tsconfig.json" },
|
|
{ "path": "../plugins/beats_management/tsconfig.json" },
|
|
{ "path": "../plugins/cases/tsconfig.json" },
|
|
{ "path": "../plugins/cloud/tsconfig.json" },
|
|
{ "path": "../plugins/console_extensions/tsconfig.json" },
|
|
{ "path": "../plugins/dashboard_mode/tsconfig.json" },
|
|
{ "path": "../plugins/enterprise_search/tsconfig.json" },
|
|
{ "path": "../plugins/fleet/tsconfig.json" },
|
|
{ "path": "../plugins/global_search/tsconfig.json" },
|
|
{ "path": "../plugins/global_search_providers/tsconfig.json" },
|
|
{ "path": "../plugins/features/tsconfig.json" },
|
|
{ "path": "../plugins/data_enhanced/tsconfig.json" },
|
|
{ "path": "../plugins/drilldowns/url_drilldown/tsconfig.json" },
|
|
{ "path": "../plugins/embeddable_enhanced/tsconfig.json" },
|
|
{ "path": "../plugins/encrypted_saved_objects/tsconfig.json" },
|
|
{ "path": "../plugins/enterprise_search/tsconfig.json" },
|
|
{ "path": "../plugins/event_log/tsconfig.json" },
|
|
{ "path": "../plugins/features/tsconfig.json" },
|
|
{ "path": "../plugins/global_search_bar/tsconfig.json" },
|
|
{ "path": "../plugins/global_search_providers/tsconfig.json" },
|
|
{ "path": "../plugins/global_search/tsconfig.json" },
|
|
{ "path": "../plugins/grokdebugger/tsconfig.json" },
|
|
{ "path": "../plugins/index_management/tsconfig.json" },
|
|
{ "path": "../plugins/infra/tsconfig.json" },
|
|
{ "path": "../plugins/ingest_pipelines/tsconfig.json" },
|
|
{ "path": "../plugins/lens/tsconfig.json" },
|
|
{ "path": "../plugins/license_management/tsconfig.json" },
|
|
{ "path": "../plugins/licensing/tsconfig.json" },
|
|
{ "path": "../plugins/logstash/tsconfig.json" },
|
|
{ "path": "../plugins/metrics_entities/tsconfig.json" },
|
|
{ "path": "../plugins/ml/tsconfig.json" },
|
|
{ "path": "../plugins/monitoring/tsconfig.json" },
|
|
{ "path": "../plugins/observability/tsconfig.json" },
|
|
{ "path": "../plugins/osquery/tsconfig.json" },
|
|
{ "path": "../plugins/painless_lab/tsconfig.json" },
|
|
{ "path": "../plugins/runtime_fields/tsconfig.json" },
|
|
{ "path": "../plugins/saved_objects_tagging/tsconfig.json" },
|
|
{ "path": "../plugins/security/tsconfig.json" },
|
|
{ "path": "../plugins/snapshot_restore/tsconfig.json" },
|
|
{ "path": "../plugins/spaces/tsconfig.json" },
|
|
{ "path": "../plugins/stack_alerts/tsconfig.json" },
|
|
{ "path": "../plugins/task_manager/tsconfig.json" },
|
|
{ "path": "../plugins/telemetry_collection_xpack/tsconfig.json" },
|
|
{ "path": "../plugins/transform/tsconfig.json" },
|
|
{ "path": "../plugins/triggers_actions_ui/tsconfig.json" },
|
|
{ "path": "../plugins/ui_actions_enhanced/tsconfig.json" },
|
|
{ "path": "../plugins/upgrade_assistant/tsconfig.json" },
|
|
{ "path": "../plugins/watcher/tsconfig.json" },
|
|
{ "path": "../plugins/rollup/tsconfig.json" },
|
|
{ "path": "../plugins/remote_clusters/tsconfig.json" },
|
|
{ "path": "../plugins/cross_cluster_replication/tsconfig.json" },
|
|
{ "path": "../plugins/index_lifecycle_management/tsconfig.json"},
|
|
{ "path": "../plugins/uptime/tsconfig.json" },
|
|
{ "path": "../plugins/xpack_legacy/tsconfig.json" }
|
|
]
|
|
}
|