mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[eem] add service_summary to builtin service definition (#190240)
This commit is contained in:
parent
e73f68867b
commit
5fd68e4147
2 changed files with 9 additions and 4 deletions
|
@ -20,14 +20,19 @@ const serviceTransactionFilter = (additionalFilters: string[] = []) => {
|
|||
|
||||
export const builtInServicesFromLogsEntityDefinition: EntityDefinition =
|
||||
entityDefinitionSchema.parse({
|
||||
version: '0.1.0',
|
||||
version: '1.0.0',
|
||||
id: `${BUILT_IN_ID_PREFIX}services_from_ecs_data`,
|
||||
name: 'Services from ECS data',
|
||||
description:
|
||||
'This definition extracts service entities from common data streams by looking for the ECS field service.name',
|
||||
type: 'service',
|
||||
managed: true,
|
||||
indexPatterns: ['logs-*', 'filebeat*', 'metrics-apm.service_transaction.1m*'],
|
||||
indexPatterns: [
|
||||
'logs-*',
|
||||
'filebeat*',
|
||||
'metrics-apm.service_transaction.1m*',
|
||||
'metrics-apm.service_summary.1m*',
|
||||
],
|
||||
history: {
|
||||
timestampField: '@timestamp',
|
||||
interval: '1m',
|
||||
|
|
|
@ -52,7 +52,7 @@ const assertHasCreatedDefinition = (
|
|||
id: generateHistoryIngestPipelineId(builtInServicesFromLogsEntityDefinition),
|
||||
processors: expect.anything(),
|
||||
_meta: {
|
||||
definitionVersion: '0.1.0',
|
||||
definitionVersion: '1.0.0',
|
||||
managed: true,
|
||||
},
|
||||
});
|
||||
|
@ -60,7 +60,7 @@ const assertHasCreatedDefinition = (
|
|||
id: generateLatestIngestPipelineId(builtInServicesFromLogsEntityDefinition),
|
||||
processors: expect.anything(),
|
||||
_meta: {
|
||||
definitionVersion: '0.1.0',
|
||||
definitionVersion: '1.0.0',
|
||||
managed: true,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue